-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TO-URL returns incorrect value for % symbol #2009
Comments
Submitted by: Ladislav This may as well be just a MOLD bug, I do not think the TO-URL behaviour is incorrect. |
Submitted by: johnk Reading this I agree that this should not be a bug. https://en.wikipedia.org/wiki/Percent-encoding Equivalent code in ruby >> URI::encode "%"
=> "%" |
Submitted by: BrianH TO-URL, like all of the TO-datatype functions, only does datatype conversion. It doesn't and is not supposed to do any encoding. R3 has encoding bugs (there are many tickets about this) but it's not TO-URL's fault. |
Submitted by: johnk Thanks for the clarification Brian |
Submitted by: johnk
TO-URL does not encode % correctly when passed in a string or char
Reference to discussion on google groups:
https://groups.google.com/d/msg/rebol/rquLOryb5nM/Srahpr_71-0J
CC - Data [ Version: r3 master Type: Bug Platform: All Category: Native Reproduce: Always Fixed-in:none ]
The text was updated successfully, but these errors were encountered: