summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusmetaobject.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2012-01-25 19:54:20 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-28 13:08:50 +0100
commite650dd3b6d8212d2c54ddb4a50558b508d0bf2b9 (patch)
tree87283c414458014cca91022cb741eb58236f0b6f /src/dbus/qdbusmetaobject.cpp
parent00052b6449fdfb18056c9e07c27f6460f0788790 (diff)
QUrl: use partially-decoded data in toString and QUrl(QString)
This fixes round-trip bugs. People expect to be able to do QUrl u(...); QString s = u.toString(); QUrl u2(s); and have u==u2. This was not true for paths containing a '#', for instance, which would be parsed back as a fragment. The solution is to make toString output partially decoded data (more readable than toEncoded, but not decoded to the point of changing the meaning, if parsing it back later as a QUrl), and to make the QUrl constructor work with partially decoded data. Change-Id: I013c01e8947d538435f3c20fc4ec57cd9ccbba6c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions