Re: mod_perl 2.0.4: $r->uri

2011-06-06 Thread Torsten Förtsch
On Monday, June 06, 2011 10:25:14 Jie Gao wrote: > Now if I want to get a work-around within mod_perl, what would you do? First, you have to define what you think is the "right" behavior. Then you can for instance use a PerlTransHandler to patch the uri field as required. PerlTransHandler "sub

Re: mod_perl 2.0.4: $r->uri

2011-06-06 Thread Jie Gao
Thanks for your reply. Now if I want to get a work-around within mod_perl, what would you do? Jie Gao | Systems Administrator Information and Communications Technology THE UNIVERSITY OF SYDNEY 316 Abercrombie Street Building G17 | The University of Sydney | NSW | 2006 T +61 2 8627 7824 | E j.

Re: mod_perl 2.0.4: $r->uri

2011-06-06 Thread Torsten Förtsch
On Monday, June 06, 2011 08:19:00 Jie Gao wrote: > It seems that $r->uri returns the URI string with %20 decoded to white > space, but leaves "+" unchanged. Is this the right behaviour? RFC2396 defines escaped encoding as "%" hex hex only, see chapter 2.4.1. In this sense I think the answer is ye