Re: $r->path_info unreliable?

Worik Stanton <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 19/06/14 14:11, Jie Gao wrote:
> * Worik Stanton <[email protected]> wrote:
> 
>> Date: Thu, 19 Jun 2014 12:13:10 +1200
>> From: Worik Stanton <[email protected]>
>> To: mod_perl list <[email protected]>
>> Subject: $r->path_info unreliable?
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101
>>  Thunderbird/24.5.0
>>
>> In my handler I call $r->path_info to determine the path used to call my
>> script.
>  
> It looks to me, on the face of it, that you should use "$r->uri" instead.

Ah yes.  That is true.  Thank you for that.

W
-- 
The only true evil is turning people into things....
                                         Granny Weatherwax
       [email protected] 021-1680650, (03) 4821804
                          Aotearoa (New Zealand)
signature.asc (application/pgp-signature, 538 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTolh3AAoJEDgltBsVWtVclqoH/0AZQcHLuqTD8Pz13o2Jd8iv
gJlLbeA0FYXd3NrHkOxrakClqcWt61C5OWZ6XfvH+1Sfld9e9BCPiKf3AxeYOUgI
SR7tDUyrGszjpT16XGDVFjws7z7U0Ym9yMI3222JrDGw2oI9VtQL46zezR9Ml88S
oWuZKK0+V6O9ikfquqJRmhtSYtkeN+XRYw7eB4UXmHo66InSaG1m7QUZnxk2H8Bl
Y04bV7LYm9m9Y0FK24lMoqHtbkcP4mOUMjgbjbgcrJgeOFlfD6u0iGGTqblOFy/l
VpQ/ML827kVDLsuCiKiVyRe04ZK2R5D+di8vAcb8LcHFKhMi2sd/uFIhKCZWk00=
=dd0b
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.