summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-03-18 13:36:52 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-21 13:48:44 (GMT)
commitb6b12bc6b8296d7e199cab0ece35c9eb9ae7fe64 (patch)
treeb55aa571ea7db6bb36af3357009e15fbe58c0a0c /util
parentea7830a2551f1c68e5dbc53ee9a5ce3a8fcbe872 (diff)
downloadQt-b6b12bc6b8296d7e199cab0ece35c9eb9ae7fe64.zip
Qt-b6b12bc6b8296d7e199cab0ece35c9eb9ae7fe64.tar.gz
Qt-b6b12bc6b8296d7e199cab0ece35c9eb9ae7fe64.tar.bz2
Implement strict STD3 checking of hostnames in URLs.
Made the toPunycodeHelper function write to a QString. Renamed qt_from_ACE to qt_ACE_do to indicate what it actually does. Added the STD3 rules for hostnames, forcing hostnames to have to strictly comply to STD3. Also, execute nameprep in the correct order (before trying to encode to Punycode). Validate hostnames when QUrlPrivate::canonicalHost() called, including validation of IP Literals. Validation of IPv4 is missing. Adapted other functions to use qt_ACE_do, notably QUrl::toAce (avoid code duplication).
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions