qt5base-lts/tests/auto/corelib/io
Thiago Macieira f6aef23ff1 Ensure that QUrl::{to,from}LocalPath encode/decode properly
Unlike path(), toLocalFile() isn't reporting a URL component, so it
should decode the percent-encoded characters fully. This extra
decoding pass is meant to catch %00 to %1F, %7F and %25 (the percent
sign itself).

It also catches %80 to %FF, which aren't decoded because they don't
form UTF-8 sequences. That means QUrl::toLocalFile() has undefined
behaviour if the path contained non-UTF8 sequences.

Task-number: QTBUG-25459
Change-Id: Iab5a0ba6afcfc4510e297984f2ffc208cedd752b
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-26 03:15:22 +02:00
..
largefile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qabstractfileengine Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
qbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatastream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qdebug Fix QTextStream and QDebug operator<< for QLatin1String 2012-02-02 11:10:04 +01:00
qdir Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
qdiriterator Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfile Do not ignore tests/auto/corelib/io/qfile on Mac OS X 2012-04-12 21:26:42 +02:00
qfileinfo Add QFileInfo::isNativePath 2012-02-14 02:48:35 +01:00
qfilesystementry Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qfilesystemwatcher Fix directories never being unwatched after deletion on Windows. 2012-03-21 12:32:16 +01:00
qiodevice Do not ignore tests/auto/corelib/io/qiodevice on Mac OS X 2012-04-12 21:26:42 +02:00
qipaddress Add support for IPv6 parsing and reconstructing the address 2012-03-28 16:31:34 +02:00
qnodebug Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocess Really marked tst_QProcess as insignificant on Windows. 2012-04-19 01:57:58 +02:00
qprocessenvironment Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qresourceengine Uncomment disabled code in QResourceEngine autotest. 2012-03-14 07:51:45 +01:00
qsettings Mark known test failures in Windows developer build. 2012-04-25 10:29:56 +02:00
qstandardpaths Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
qtemporarydir Compilation fix: missing includes for geteuid() 2012-02-17 05:27:29 +01:00
qtemporaryfile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtextstream Do not ignore tests/auto/corelib/io/qtextstream on Mac OS X 2012-04-12 21:26:42 +02:00
qurl Ensure that QUrl::{to,from}LocalPath encode/decode properly 2012-04-26 03:15:22 +02:00
qurlinternal Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qurlquery Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qwinoverlappedionotifier Update contact address in license headers. 2012-01-31 04:54:56 +01:00
io.pro Add a function to parse IPv4 addresses in QtCore 2012-03-28 16:31:34 +02:00