qt5base-lts/tests/auto/corelib
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
..
animation Fix deadlock in QPropertyAnimation 2012-03-07 12:48:49 +01:00
codecs Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
global Merge master into api_changes 2012-03-27 19:22:48 +02:00
io Ensure that QUrl::{to,from}LocalPath encode/decode properly 2012-04-26 03:15:22 +02:00
itemmodels Remove insignification from qabstractitemmodel test on Mac OS X. 2012-04-24 19:36:55 +02:00
json Don't crash when comparing values containing empty arrays/objects 2012-04-11 16:09:06 +02:00
kernel Remove QMetaObjectExtraData and put everything into QMetaObject 2012-04-25 20:19:29 +02:00
mimetypes Make comment() work in the C locale too. 2012-03-22 13:29:50 +01:00
plugin Remove insignification from QPluginLoader and QFactoryLoader tests. 2012-04-17 16:28:46 +02:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Add a remainingTime() method to the public interface of the QTimer class 2012-04-03 15:10:05 +02:00
tools Use macro for QByteArrayData initialization. 2012-04-25 10:29:56 +02:00
xml Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00