Bug#421820: ap_escape_uri() doesn't escape -sign

2007-05-09 Thread Stefan Fritsch
Apache behaves correctly (in principle). From RFC 2396 section 3.3: 'The path may consist of a sequence of path segments separated by a single slash / character. Within a path segment, the characters /, ;, =, and ? are reserved.' [1] This means '' is a reserved character only in the query part

Bug#421820: ap_escape_uri() doesn't escape -sign

2007-05-09 Thread Thibaut VARENE
On 5/9/07, Stefan Fritsch [EMAIL PROTECTED] wrote: Apache behaves correctly (in principle). From RFC 2396 section 3.3: 'The path may consist of a sequence of path segments separated by a single slash / character. Within a path segment, the characters /, ;, =, and ? are reserved.' [1] This

Bug#421820: ap_escape_uri() doesn't escape -sign

2007-05-09 Thread Stefan Fritsch
Hi Thibaut, On Mittwoch, 9. Mai 2007, Thibaut VARENE wrote: On 5/9/07, Stefan Fritsch [EMAIL PROTECTED] wrote: Apache behaves correctly (in principle). From RFC 2396 section 3.3: This means '' is a reserved character only in the query part after the '?', but not before the '?' in the

Bug#421820: ap_escape_uri() doesn't escape -sign

2007-05-09 Thread Thibaut VARENE
On 5/9/07, Stefan Fritsch [EMAIL PROTECTED] wrote: and then it ought to encode '' as well in order to be RFC compliant. but this is not. Also, RFC1738 talks about UR*L*s, the later RFCs talk about UR*I*s, and the function is called ap_escape_ur*i*(). So I guess my code is ok, apache is OK

Re: Bug#421820: ap_escape_uri() doesn't escape -sign

2007-05-09 Thread Stefan Fritsch
On Mittwoch, 9. Mai 2007, Thibaut VARENE wrote: On 5/9/07, Stefan Fritsch [EMAIL PROTECTED] wrote: and then it ought to encode '' as well in order to be RFC compliant. but this is not. Also, RFC1738 talks about UR*L*s, the later RFCs talk about UR*I*s, and the function is called

Bug#421820: ap_escape_uri() doesn't escape -sign

2007-05-09 Thread Matthijs ten Berge
Thibaut VARENE wrote: On 5/9/07, Stefan Fritsch [EMAIL PROTECTED] wrote: So I guess my code is ok, apache is OK and to get back to the submitter's issue, the issue lies in php? That would be fine by me, since my module seems to work fine as is anyway ;-) Thanks T-Bone Hi all, So the