Type | Issue | Status | tested | Date | 23-Jan-2010 14:02 |
---|---|---|---|---|---|
Version | alpha 96 | Category | Syntax | Submitted by | meijeru |
Platform | All | Severity | minor | Priority | normal |
Summary | In file literal, % MUST be followed by 2 hex chars, in email and url literal, it MAY occur alone |
---|---|
Description | To escape a special character in file literals, one can use ^ or %. The latter MUST be followed by 2 hex characters. In email and url literals, % + 2 hex chars serves the same function, but a single % or a % followed by one arbitrary character, or by 2 characters which do NOT constitute a hexadecimal number between 00 and FF, are also allowed. |
Example code |
>> to-string %a%20b == "a b" >> to-string %a%2h ** Syntax error: invalid "file" -- "%a%2h" >> to-string %a%2 ** Syntax error: invalid "file" -- "%a%2" >> to-string %a% ** Syntax error: invalid "file" -- "%a%" >> to-string a@b%20c == "a@b c" >> to-string a@b%2h == "a@b%2h" >> to-string a@b%2 == "a@b%2" >> to-string a@b% == "a@b%" |
Assigned to | n/a | Fixed in | alpha 97 | Last Update | 8-Feb-2010 03:30 |
---|
Comments | |
---|---|
(0001917)
BrianH 24-Jan-2010 04:28 |
The more lax treatment of % in email! and url! syntax should be considered a serious bug. |
(0001949)
Carl 4-Feb-2010 13:46 |
This was allowed intentionally, but on second thought, better to make it more restrictive. |
Date | User | Field | Action | Change |
---|---|---|---|---|
8-Feb-2010 03:30 | BrianH | Status | Modified | built => tested |
4-Feb-2010 13:52 | carl | Fixedin | Modified | => alpha 97 |
4-Feb-2010 13:52 | carl | Status | Modified | reviewed => built |
4-Feb-2010 13:46 | carl | Comment : 0001949 | Added | - |
24-Jan-2010 04:28 | BrianH | Comment : 0001917 | Added | - |
24-Jan-2010 04:27 | BrianH | Code | Modified | - |
24-Jan-2010 04:27 | BrianH | Category | Modified | Documentation => Syntax |
24-Jan-2010 04:27 | BrianH | Status | Modified | submitted => reviewed |
24-Jan-2010 04:27 | BrianH | Type | Modified | Note => Issue |
23-Jan-2010 14:02 | meijeru | Ticket | Added | - |