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 yes.
if necessary.
* Torsten F?rtsch torsten.foert...@gmx.net wrote:
Date: Mon, 6 Jun 2011 10:13:42 +0200
From: Torsten F?rtsch torsten.foert...@gmx.net
To: dev@perl.apache.org
CC: Jie Gao j@isu.usyd.edu.au
Subject: Re: mod_perl 2.0.4: $r-uri
User-Agent: KMail/1.13.5 (Linux/2.6.34.8-0.2
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 {