Fix the handling of ambiguous delimiters in the query part of a URL
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 30 Mar 2012 01:59:56 +0000 (22:59 -0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 11 Apr 2012 21:31:46 +0000 (23:31 +0200)
commitef288340da61a72ac6d7ecb48e5bce5fef8cf11b
treebf804ed92b3a939c6a329636a9d92284d69b9e37
parent8d3cb11261fe9d6ec2e071c959b836f7bfadc33d
Fix the handling of ambiguous delimiters in the query part of a URL

This is the same fix as the previous commit did for the other
components of the URL. But we're also changing how we handle the "[]"
characters in a query: previously the handling was like for other
sub-delims; now, they're always decoded, assuming that the RFC had a
mistake and they were meant to be decoded.

Change-Id: If4b1c3df8f341cb114f2cc4860de22f8bf0be743
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/corelib/io/qurl.cpp
src/corelib/io/qurl_p.h
src/corelib/io/qurlquery.cpp
tests/auto/corelib/io/qurl/tst_qurl.cpp