Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.6.2
-
None
-
Android 7.0, Android 4.1.2
Description
QUrl::toPercentEncoding gives me a seemingly bogus floating point number instead of percent encoding:
Code is something like this:
PRINT("%s\n", QUrl::toPercentEncoding(input).constData());
Input QString: "qwerty<|>"
Encoded string:
"qwerty%3C%7C%3E" (Mac, iOS, website verification)
"qwerty C C-1.676279E-194" (Android)
The floating point number in the encoded string changes and is apparently bogus/random.
Android Tests
input="happy" encoded="happy"
input="123" encoded="123"
input="qwerty<|>" encoded="qwerty C C-3.612191E-184"
input="me@here" encoded="me -3.612191e-184re"
input="help!" encoded="help "
input="*" encoded="-0X1.88EC6989DD34CP-610"