[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Re: [cgiapp] Q: CGI::Application::Dispatch V 2.00_03



Rhesa Rozendaal wrote:
> Just out of curiosity, wouldn't it be better to test with exists()?
> 
> I did a quick test using env.pl, which confirms that for me as well, the
> PATH_INFO variable exists only if there actually is something in the url.
> That is:
> 
>   http://foo/bar.pl  -> no PATH_INFO exists in %ENV
>   http://foo/bar.pl/ -> PATH_INFO = /
> 
> This holds both under mod_perl (with ModPerl::Registry) and under
> mod_cgi. My Apache is 2.0.52.

Thanks Rhesa and Ron for catching this. I'll be making a fix shortly and you'll
see it in the next dev release.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.