qt5base-lts/src
Thiago Macieira 997ac954ab Allow {} to remain decoded in URLs in the path and query
This allows things like http://example.com/{1234-5678}?id={abcd-ef01}.
But do not allow it in other parts of the URL. I could allow it in the
fragment, but in the username and password it would be too ugly.

In order to do that, make DecodeReserved use two bits and have
PrettyDecoded set only one of them. That way, toString(PrettyDecoded)
can be distinguished from toString(PrettyDecoded | DecodeReserved),
just as path(PrettyDecoded) can be distinguished from
path(PrettyDecoded & ~DecodeDelimiters).

Also, take the opportunity to avoid decoding the reserved characters
in the query. Keep them encoded as they should be.

Change-Id: I1604a0c8015c6b03dc2fbf49ea9d1dbed96fc186
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-11 23:32:18 +02:00
..
3rdparty Harfbuzz-thai - fix buffer overflow when setting item attributes 2012-04-02 14:52:48 +02:00
concurrent Remove references to QT_NO_STL from QtConcurrent 2012-04-07 05:19:50 +02:00
corelib Allow {} to remain decoded in URLs in the path and query 2012-04-11 23:32:18 +02:00
dbus More qHash(T, uint) overloads for Qt types 2012-04-07 22:20:19 +02:00
gui Move QVectorPath::polygonFlags to its own class. 2012-04-11 14:33:33 +02:00
modules List QtPrintSupport as a dependency of QtPlatformSupport. 2012-03-22 11:36:45 +01:00
network Fix error reporting in QNetworkReplyHttpImplPrivate 2012-04-11 22:20:10 +02:00
opengl Merge master into api_changes 2012-03-23 14:10:58 +01:00
platformsupport Corrected filenames to build on case-sensitive Mac filesystems 2012-04-03 12:45:46 +02:00
plugins Define usagePolicies API in QNetworkSession 2012-04-11 22:19:21 +02:00
printsupport Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
sql Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
testlib Merge QUrl::DecodeAllDelimiters and QUrl::DecodeUnambiguousDelimiters 2012-04-11 23:31:59 +02:00
tools Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
widgets Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
winmain replace uses of QMAKE_INCDIR_QT and QMAKE_LIBDIR_QT with module-specific variables 2012-03-08 18:57:56 +01:00
xml Merge master into api_changes 2012-03-23 14:10:58 +01:00
qbase.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_install.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_targets.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
src.pro Add Qt Widgets opt out support to build system 2012-03-15 11:40:50 +01:00