qt5base-lts/tests/auto/corelib
David Faure 1de1470189 QUrl: Use decoded mode by default for individual getters/setters.
This fixes the wrong value for path() and fileName() when a
path or file name actually contains a '%'.

userInfo() and authority() are not individual getters, they combine
two or more fields, so full decoding isn't possible (e.g. username
containing a ':').

[ChangeLog][Important Behavior Changes][QUrl and QUrlQuery]QUrl now
defaults to decoded mode in the getters and setters for userName,
password, host, topLevelDomain, path and fileName. This means a '%'
in one of those fields is now returned (or set) as '%' rather than "%25".
In the unlikely case where the former behavior was expected, pass PrettyDecoded
to the getter and TolerantMode to the setter.

Change-Id: Iaeecbde9c269882e79f08b29ff8c661157c41743
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-08-21 23:50:44 +02:00
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Ensure that the user codecs are listed in QTextCodec::availableCodecs 2013-07-21 07:30:48 +02:00
global Make QFlags enum flags (C++11 strict enums) friendly 2013-05-09 12:17:59 +02:00
io QUrl: Use decoded mode by default for individual getters/setters. 2013-08-21 23:50:44 +02:00
itemmodels Make the QItemSelectionModel test widgets-independent. 2013-08-13 16:34:16 +02:00
json Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
kernel Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
mimetypes QMimeDatabase: Fix handling of duplicate mimetype definitions (2/2). 2013-08-03 14:44:12 +02:00
plugin OSX: Make machtest compile on 10.9 2013-08-05 17:58:24 +02:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread QThreadPool - Add method clear() to remove queued QRunnable. 2013-08-16 15:43:53 +02:00
tools QDateTime - Fix tests to correctly restore time zone 2013-08-21 01:20:01 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00