Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 32695
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: bod [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Minor typo CGI.pm: -rewrite->0
Date: Sun, 27 Jan 2008 13:24:28 +1100
To: bug-CGI.pm [...] rt.cpan.org
From: Brendan O'Dea <bod [...] debian.org>
Minor typo in CGI.pm documentation, present in perl-5.10.0 and CGI.pm-3.33 diff -Naur --exclude=debian perl-5.10.0.orig/lib/CGI.pm perl-5.10.0/lib/CGI.pm --- perl-5.10.0.orig/lib/CGI.pm 2007-12-18 21:47:07.000000000 +1100 +++ perl-5.10.0/lib/CGI.pm 2008-01-27 13:15:41.000000000 +1100 @@ -5388,7 +5388,7 @@ If Apache's mod_rewrite is turned on, then the script name and path info probably won't match the request that the user sent. Set -rewrite=>1 (default) to return URLs that match what the user sent -(the original request URI). Set -rewrite->0 to return URLs that match +(the original request URI). Set -rewrite=>0 to return URLs that match the URL after mod_rewrite's rules have run. Because the additional path information only makes sense in the context of the rewritten URL, -rewrite is set to false when you request path info in the URL.
Thanks for the report. I'm just noting for the record that this fix has bee released. I confirm it's fixed in 3.43. On Sat Jan 26 21:24:45 2008, bod@debian.org wrote: Show quoted text
> Minor typo in CGI.pm documentation, present in perl-5.10.0 and CGI.pm- > 3.33 > > diff -Naur --exclude=debian perl-5.10.0.orig/lib/CGI.pm perl- > 5.10.0/lib/CGI.pm > --- perl-5.10.0.orig/lib/CGI.pm 2007-12-18 21:47:07.000000000 +1100 > +++ perl-5.10.0/lib/CGI.pm 2008-01-27 13:15:41.000000000 +1100 > @@ -5388,7 +5388,7 @@ > If Apache's mod_rewrite is turned on, then the script name and path > info probably won't match the request that the user sent. Set > -rewrite=>1 (default) to return URLs that match what the user sent > -(the original request URI). Set -rewrite->0 to return URLs that match > +(the original request URI). Set -rewrite=>0 to return URLs that match > the URL after mod_rewrite's rules have run. Because the additional > path information only makes sense in the context of the rewritten > URL, > -rewrite is set to false when you request path info in the URL.