Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.5
-
c8782acd457a05d366f611eca4f146a1659c91ea
Description
When passing a string that has a % inside it to QUrlQuery::addQueryItem then it will not escape the % if it is followed with 2 hexadecimal characters. This is because it considers it to already be escaped, but there are cases when it would be expected to escape it regardless.
Granted the default is to only escape it if is a single %, but ideally if this could be made an option so that all %'s are escaped on request then that would be good. Alternatively, this should be documented as the case in QUrlQuery