Red Hat Bugzilla – Bug 75371
Undefined subroutine &CGI::unescape called at /usr/lib/perl5/5.6.1/CGI/Cookie.pm line 75.
Last modified: 2007-04-18 12:47:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
After upgrading perl RPMs, I started getting the error:
[Mon Oct 7 13:59:01 2002] [error] [client xx.xx.xx.xx] Premature end of script
Undefined subroutine &CGI::unescape called
at /usr/lib/perl5/5.6.1/CGI/Cookie.pm line 75.
Attempt to free unreferenced scalar.
In the file /usr/lib/perl5/5.6.1/CGI/Cookie.pm, line 75 needs to be changed
values = map CGI::unescape($_),split(/[&;]/,$value.'&dmy');
values = map CGI::Util::unescape($_),split(/[&;]/,$value.'&dmy');
I shamelessly ripped this off from a Debian bug report. ;-)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Perform default install of RH 7.2
2. Grap all patches
3. Apply said patches
4. Get yelled at by the client when the web site stops working.
Actual Results: I am NOT a perl hacker, I prolly can't explain exactly what
happened, but after the upgrades to perl 5.6, we started getting a 500 internal
server error on web page built from perl script.
Expected Results: Customer should be able to order product from web site.
Closing due to lack of activity and likely fixed in modern perl. If this is
still an issue in RHEL4, FC3 or FC4 please open a new bug with new test
information and exact versions of packages.