qt5base-lts/tests/auto
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
..
cmake Run DBus tests only if QtDBus is found. 2012-04-24 17:29:42 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib Ensure that QUrl::{to,from}LocalPath encode/decode properly 2012-04-26 03:15:22 +02:00
dbus Finish cleaning up com.trolltech -> org.qtproject in QtDBus 2012-04-16 00:07:39 +02:00
gui Fix QRawFont autotest in Windows 2012-04-25 22:38:45 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Using QLatin1String instead of QLatin1Literal 2012-04-25 01:56:56 +02:00
opengl Re-enable QGLThreads autotest on Mac OS X. 2012-04-19 13:26:51 +02:00
other Don't use the QRegExp methods that modify the object [QtGui] 2012-04-24 19:36:55 +02:00
printsupport Re-enable QPrinterInfo test on Mac OS X. 2012-04-19 04:13:04 +02:00
shared Added some convenience API for platform input contexts 2012-04-01 20:13:51 +02:00
sql QSqlQueryModel::setQuery() don't use deprecated reset() 2012-04-23 19:20:19 +02:00
testlib Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
tools Remove QMetaObjectExtraData and put everything into QMetaObject 2012-04-25 20:19:29 +02:00
widgets Fix recursion in qwidget gdiPainting test. 2012-04-25 17:14:22 +02:00
xml Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
auto.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00
network-settings.h Don't require exact IMAP server version in autotests 2012-04-03 12:45:46 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00