summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-04-24 13:33:16 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-24 17:02:23 +0200
commit4544ec931f0cb05d28134dc770629668afe83e5f (patch)
tree9468926e645b4454a83e2741e779b701e5b8f41d /dist
parent2a683c1f14897a04886ba1ad3df44b17d98ce8be (diff)
Update the QUrl documentation concerning the encoding
Looks like I failed to update this earlier, when the behaviour changed. Change-Id: Ic020c2a14d4e9153f2bc9d22d943a3a380c0851c Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.0.020
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 617cf3e0dc..f4865da87b 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -625,6 +625,26 @@ Qt for Windows CE
cleared). Any QPointers tracking a widget will NOT be cleared before the
QWidget destructor destroys the children for the widget being tracked.
+- QUrl
+
+ * QUrl has been changed to operate only on percent-encoded
+ forms. Fully-decoded forms, where the percent character stands for itself,
+ are no longer possible. For that reason, the getters and setters with
+ "encoded" in the name are deprecated, except for QUrl::toEncoded() and
+ QUrl::fromEncoded().
+
+ QUrl now operates in a mode where it decodes as much as it can of the
+ percent-encoding sequences. In addition, the setter methods possess a mode
+ in which a '%' character not part of a percent-encoding sequence will cause
+ the parser to correct the input. Therefore, most software will not require
+ changes to adapt, since the getter methods will continue returning the
+ components in their most-decoded form as they did before and the setter
+ methods will accept input as they did before..
+
+ The most notable difference is when dealing with
+ QUrl::toString(). Previously, this function would return percent characters
+ in the URL by themselves. Now, it will return "%25", like
+ QUrl::toEncoded().
- QVariant