summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-09-07 17:00:10 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-09-10 08:53:31 (GMT)
commitecac806359a092e2e09adb027e5a45d2cd993a9f (patch)
tree26ed050ebed52f6fddb73477b845d91332cb3170 /src/imports
parent16aeed255560b5e9479efe9b74517fb647922694 (diff)
downloadQt-ecac806359a092e2e09adb027e5a45d2cd993a9f.zip
Qt-ecac806359a092e2e09adb027e5a45d2cd993a9f.tar.gz
Qt-ecac806359a092e2e09adb027e5a45d2cd993a9f.tar.bz2
Update the error handling of invalid hostnames in QUrl.
This should let QUrl::errorString() show the original, invalid hostname in the URL it reports to be invalid. There may be a side-effect that QUrl::toEncoded() may include the broken hostname on the first call, then miss it in the next calls. But since QUrl::isValid() is returning false, we can consider that the result of toEncoded() is undefined, so anything goes. Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions