X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatcher.pm;h=05101b93520cb969b3fe36a0c58e0b79a8a081ba;hb=855ed93153e2b0c0e88d9bb8f23822c914393048;hp=8c4a5d89ea4227d5a31bf72309d3f2645b63a44d;hpb=c425bfebe75a369dc7f5958be61742b7a4300eb5;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index 8c4a5d8..05101b9 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -196,6 +196,7 @@ sub prepare_action { # If not, move the last part path to args unshift @args, pop @path; } + s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg for @args; $c->log->debug( 'Path is "' . $c->req->match . '"' ) if ( $c->debug && $c->req->match );