From: Tomas Doran Date: Sat, 8 May 2010 23:09:01 +0000 (+0000) Subject: I hate this name less. Others may feel differently X-Git-Tag: 5.80025~2^2~13^2~3^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=17affec101cad8696baedd2e4b568e8ef7428e7c I hate this name less. Others may feel differently --- diff --git a/lib/Catalyst/Engine/CGI.pm b/lib/Catalyst/Engine/CGI.pm index a8a2b1b..a2d3255 100644 --- a/lib/Catalyst/Engine/CGI.pm +++ b/lib/Catalyst/Engine/CGI.pm @@ -154,7 +154,7 @@ sub prepare_path { # See https://issues.apache.org/bugzilla/show_bug.cgi?id=35256 # Here we try to resurrect the original encoded URI from REQUEST_URI. my $path_info = $ENV{PATH_INFO}; - if ($c->config->{rfc3875_paths}) { + if ($c->config->{use_request_uri_for_path}) { if (my $req_uri = $ENV{REQUEST_URI}) { $req_uri =~ s/^\Q$base_path\E//; $req_uri =~ s/\?.*$//; diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 9ee303d..6cd199f 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -18,7 +18,7 @@ use namespace::autoclean; our $VERSION = '0.01'; -TestApp->config( name => 'TestApp', root => '/some/dir', rfc3875_paths => 1 ); +TestApp->config( name => 'TestApp', root => '/some/dir', use_request_uri_for_path => 1 ); if ($::setup_leakchecker && eval { Class::MOP::load_class('CatalystX::LeakChecker'); 1 }) { with 'CatalystX::LeakChecker';