Type | Bug | Status | dismissed | Date | 2-Apr-2013 01:29 |
---|---|---|---|---|---|
Version | r3 master | Category | Native | Submitted by | johnk |
Platform | All | Severity | minor | Priority | normal |
Summary | TO-URL returns incorrect value for % symbol |
---|---|
Description |
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 |
Example code |
In R2 >> to-url #"%" == % In R3 >> to-url #"%" == %25 |
Assigned to | n/a | Fixed in | - | Last Update | 4-Apr-2013 02:04 |
---|
Comments | |
---|---|
(0003740)
Ladislav 2-Apr-2013 09:45 |
This may as well be just a MOLD bug, I do not think the TO-URL behaviour is incorrect. |
(0003741)
johnk 2-Apr-2013 13:14 |
Reading this I agree that this should not be a bug.
https://en.wikipedia.org/wiki/Percent-encoding Equivalent code in ruby >> URI::encode "%" => "%" |
(0003742)
BrianH 2-Apr-2013 18:13 |
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. |
(0003744)
johnk 3-Apr-2013 00:36 |
Thanks for the clarification Brian |
(0003745)
Ladislav 3-Apr-2013 00:53 |
See #2010, #2011 and #2012. |
(0003748)
BrianH 4-Apr-2013 02:04 |
See #482, #1327, #1333 and #1644 for the existing tickets. |
Date | User | Field | Action | Change |
---|---|---|---|---|
4-Apr-2013 02:04 | BrianH | Comment : 0003748 | Added | - |
3-Apr-2013 00:53 | Ladislav | Comment : 0003745 | Added | - |
3-Apr-2013 00:36 | johnk | Comment : 0003744 | Added | - |
2-Apr-2013 18:13 | BrianH | Comment : 0003742 | Added | - |
2-Apr-2013 13:15 | johnk | Status | Modified | submitted => dismissed |
2-Apr-2013 13:15 | johnk | Comment : 0003741 | Modified | - |
2-Apr-2013 13:14 | johnk | Comment : 0003741 | Added | - |
2-Apr-2013 11:39 | Ladislav | Comment : 0003740 | Modified | - |
2-Apr-2013 11:37 | Ladislav | Comment : 0003740 | Modified | - |
2-Apr-2013 11:36 | Ladislav | Comment : 0003740 | Modified | - |
2-Apr-2013 09:45 | ladislav | Comment : 0003740 | Added | - |
2-Apr-2013 01:31 | johnk | Description | Modified | - |
2-Apr-2013 01:31 | johnk | Code | Modified | - |
2-Apr-2013 01:29 | johnk | Ticket | Added | - |