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: 3218
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: LDS [...] cpan.org
Requestors: exit232 [...] hotmail.com
Cc:
AdminCc:

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



Subject: startform testing of QUERY_STRING
This piece of code that is in CGI.pm startform() if (length($ENV{QUERY_STRING})>0) { $action .= "?".$self->escapeHTML($ENV{QUERY_STRING},1); } nags about "Use of uninitialized value in length at (eval 8) line 11." if QUERY_STRING does not exist. one possible change. if (defined($ENV{QUERY_STRING}) && length($ENV{QUERY_STRING})>0) { $action .= "?".$self->escapeHTML($ENV{QUERY_STRING},1); }
Fixed in 3.00 [guest - Tue Aug 12 09:58:05 2003]: Show quoted text
> This piece of code that is in CGI.pm startform() > > if (length($ENV{QUERY_STRING})>0) { > $action .= "?".$self->escapeHTML($ENV{QUERY_STRING},1); > } > > nags about "Use of uninitialized value in length at (eval 8) line
11." Show quoted text
> if QUERY_STRING does not exist. > > one possible change. > if (defined($ENV{QUERY_STRING}) && length($ENV{QUERY_STRING})>0) { > $action .= "?".$self->escapeHTML($ENV{QUERY_STRING},1); > }