[Catalyst-commits] r13236 - in Catalyst-Runtime/5.80/branches/fix_request_uri: lib/Catalyst/Engine t/lib

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sat May 8 23:09:02 GMT 2010


Author: t0m
Date: 2010-05-09 00:09:01 +0100 (Sun, 09 May 2010)
New Revision: 13236

Modified:
   Catalyst-Runtime/5.80/branches/fix_request_uri/lib/Catalyst/Engine/CGI.pm
   Catalyst-Runtime/5.80/branches/fix_request_uri/t/lib/TestApp.pm
Log:
I hate this name less. Others may feel differently

Modified: Catalyst-Runtime/5.80/branches/fix_request_uri/lib/Catalyst/Engine/CGI.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/fix_request_uri/lib/Catalyst/Engine/CGI.pm	2010-05-08 22:26:55 UTC (rev 13235)
+++ Catalyst-Runtime/5.80/branches/fix_request_uri/lib/Catalyst/Engine/CGI.pm	2010-05-08 23:09:01 UTC (rev 13236)
@@ -154,7 +154,7 @@
     # 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/\?.*$//;

Modified: Catalyst-Runtime/5.80/branches/fix_request_uri/t/lib/TestApp.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/fix_request_uri/t/lib/TestApp.pm	2010-05-08 22:26:55 UTC (rev 13235)
+++ Catalyst-Runtime/5.80/branches/fix_request_uri/t/lib/TestApp.pm	2010-05-08 23:09:01 UTC (rev 13236)
@@ -18,7 +18,7 @@
 
 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';




More information about the Catalyst-commits mailing list