Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.8.0
-
None
-
Tested on MacOs and Linux
Description
QDesktopServices::openUrl() encodes percents twice
Calling QDesktopServices::openUrl("http://www.google.com/foo%5B%5D=1") opens a browser at "http://www.google.com/foo%255B%255D=1"
This changes the meaning of the URL:
The query string parameter "foo%5B%5D" decodes to foo[], while "foo%255B%255D" decodes to "foo%5B%5D".