New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CGI.pm bug on IIS 6 (Windows 2003) #8393
Comments
From yann.combarnous@gmail.comModule: CGI.PM version 3.15 OS: windows 2003, using IIS 6 Issue: when executing perl -MCGI -w -e"print CGI->new->url(-relative => 1)" I get the error "Use of uninitialized value in substitution (s///) at (eval 4) See http://bugzilla.mozilla.org, bug 332555. Was fixed by applying patch: Inline Patch--- CGI-3.15.pm 2006-04-06 22:54:00.000000000 +0800
+++ CGI-3.15-fixed.pm 2006-04-06 22:54:17.812500000 +0800
@@ -2657,6 +2657,7 @@
$url = $uri;
}
+ $url ||= '';
$url .= $path if $path_info and defined $path;
$url .= "?$query_str" if $query and $query_str ne '';
@@ -2771,7 +2772,9 @@
my $raw_path_info = $ENV{PATH_INFO} || '';
my $uri = $ENV{REQUEST_URI} || '';
- if ($raw_script_name =~ m/$raw_path_info$/) {
+ if ($raw_script_name ne $raw_path_info
+ && $raw_script_name =~ m/$raw_path_info$/
+ ) {
$raw_script_name =~ s/$raw_path_info$//;
} |
From guest@guest.guest.xxxxxxxxI belive this duplicates |
The RT System itself - Status changed from 'new' to 'open' |
From guest@guest.guest.xxxxxxxxAttached is cgi v 3.15 with the patch applied for iis that was |
From jkent@ucsd.eduThis bug also occurs on apache under linux but in a more minor way: puts |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#38865 (status was 'resolved')
Searchable as RT38865$
The text was updated successfully, but these errors were encountered: