qt6-bb10/tests/auto/corelib/io
Thiago Macieira 736a052d93 QUrl stringprep: fix handling of prohibited characters
RFC 3454 says about prohibited characters (section 2, "Preparation
Overview"):

   3) Prohibit -- Check for any characters that are not allowed in the
      output.  If any are found, return an error.  This is described in
      section 5.

In other words, we mustn't simply strip the output of prohibited
characters. We must generate an error if they are present. We do that by
clearing the data.

We already had tests for prohibited output, but they were
indistinguishable from being stripped. So instead add some extra
characters so that we can tell whether the label was cleared.

Change-Id: I2d95217c27be5e2d54deed0036cb009e3b7f4886
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2013-06-08 05:06:47 +02:00
..
largefile Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qabstractfileengine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream Revert QDateTime serialisation to pre-Qt 5 behaviour. 2013-05-08 10:00:29 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qdir Fixed checking HOME variable return value using isEmpty() 2013-01-25 08:51:09 +01:00
qdiriterator Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfile Unix: fix tst_QFile when run as root 2013-06-07 22:18:42 +02:00
qfileinfo tst_qfileinfo: Fix invalid preprocessor directive. 2013-02-26 19:24:36 +01:00
qfilesystementry Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfilesystemwatcher Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiodevice Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qipaddress Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qlockfile tst_qlockfile: increase delay on Windows. 2013-03-19 06:29:13 +01:00
qnodebug Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprocess QProcess/Win: drain output pipes on process finish 2013-05-07 15:02:34 +02:00
qprocess-noapplication Re-revert "Delay creation of the process manager" 2012-10-15 04:52:08 +02:00
qprocessenvironment Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qresourceengine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsavefile QSaveFile: allow saving to a writable file in a non-writable directory 2013-04-05 11:04:35 +02:00
qsettings Fix QSettings autotest for VxWorks 2013-02-19 10:35:06 +01:00
qstandardpaths QStandardPaths: Use forward slash consistently. 2013-02-27 09:24:33 +01:00
qtemporarydir Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtemporaryfile Ensure QTemporaryFile can create files when an identical dir exists. 2013-03-23 14:42:45 +01:00
qtextstream Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qurl QUrl: update top level domains that may contain non-ASCII characters 2013-03-02 10:13:27 +01:00
qurlinternal QUrl stringprep: fix handling of prohibited characters 2013-06-08 05:06:47 +02:00
qurlquery tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwinoverlappedionotifier Fix MinGW-Warnings in tst_qwinoverlappedionotifier. 2013-01-28 16:19:21 +01:00
io.pro Long live QLockFile 2013-03-05 06:26:33 +01:00