qt5base-lts/tests/auto/corelib/io/qurl
Thiago Macieira 8d3cb11261 Make QUrl handle ambiguous delimiters correctly
Refactor the way that QUrl stores and returns the components of the
URL so that ambiguous delimiters (gen-delims that could change the
meaning of the parsing) are interpreted correctly. Previously, QUrl
called "unambiguous" the form found in a full URL, even though each
item in isolation could have more characters decoded.

Now, instead, store only the fully decoded form. To recreate the
compound forms (the full URL, as well as the user info and the
authority), we need to do more processing.

This commit applies to the user name, password, path and fragment
only. The scheme, host and port do not need this work because they are
special; the query is handled separately.

Change-Id: I5907ba9b8fe048fff23c128be95668c22820663a
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-11 23:31:41 +02:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
idna-test.c Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qurl.pro Mark QUrl::{to,from}Punycode as deprecated since 5.0 2012-03-30 01:19:59 +02:00
tst_qurl.cpp Make QUrl handle ambiguous delimiters correctly 2012-04-11 23:31:41 +02:00