[Bug 188441] url(-relative=>1) is broken in CGI.pm

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 12 22:53:23 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: url(-relative=>1) is broken in CGI.pm


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188441





------- Additional Comments From jvdias at redhat.com  2006-04-12 18:53 EST -------
OK, I now see the problem - CGI.pm-3.15 has a new "-rewrite" sub url() parameter,
which, if 0, is meant to make url() return the "$SCRIPT_NAME", not the
"$REQUEST_URI". It seems the programmer applies this logic only in the
case of '-absolute=>1', NOT '-relative=>1'. Yes, this seems like a bug
to me - and is still in the latest 3.17 version.
Please try out the attached CGI.pm which fixes the problem - if it works OK,
I'll submit it with the next perl-5.8.8-6 version.
  


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list