diff options
author | David Faure <faure@kde.org> | 2009-10-06 09:31:50 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-06 09:50:15 (GMT) |
commit | 8c4eb2b62983ec09bdfb2bde2723df12ac4e00ef (patch) | |
tree | 894b5acdd9843eac0d6992ba5888eb0a7c656323 /src/corelib/io | |
parent | 914cae63fd9045b8ac5877a974551f29eec24d72 (diff) | |
download | Qt-8c4eb2b62983ec09bdfb2bde2723df12ac4e00ef.zip Qt-8c4eb2b62983ec09bdfb2bde2723df12ac4e00ef.tar.gz Qt-8c4eb2b62983ec09bdfb2bde2723df12ac4e00ef.tar.bz2 |
Fix regression in QUrl: IPv6 hosts should be lowercased like in Qt-4.5.
Merge-Request: 1709
Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qurl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index c6bb893..22d0019 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3384,6 +3384,8 @@ QString QUrlPrivate::canonicalHost() const const char *ptr = ba.constData(); if (!_IPLiteral(&ptr)) that->host.clear(); + else + that->host = host.toLower(); } else { that->host = qt_ACE_do(host, NormalizeAce); } |