projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix unquoted regex as per RT#24951
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine
/
CGI.pm
diff --git
a/lib/Catalyst/Engine/CGI.pm
b/lib/Catalyst/Engine/CGI.pm
index
de9fe2d
..
f9f9fa8
100644
(file)
--- a/
lib/Catalyst/Engine/CGI.pm
+++ b/
lib/Catalyst/Engine/CGI.pm
@@
-123,7
+123,7
@@
sub prepare_path {
my $base_path;
if ( exists $ENV{REDIRECT_URL} ) {
$base_path = $ENV{REDIRECT_URL};
- $base_path =~ s/$ENV{PATH_INFO}$//;
+ $base_path =~ s/\Q$ENV{PATH_INFO}\E$//;
}
else {
$base_path = $script_name || '/';