|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.