X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatcher.pm;h=29cf4ec68df16f3c87be580fc8387cbf9b0534c4;hb=264bac8c94a84d7dbac9912946d1a639fa37d1cd;hp=ff25f969c1580f78422425f63c519d0cad0f2078;hpb=81e75875ca7cea9004783a0c142040081da630d8;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index ff25f96..29cf4ec 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -282,6 +282,8 @@ sub prepare_action { unshift @args, $arg; } + s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg for @{$c->req->captures||[]}; + $c->log->debug( 'Path is "' . $c->req->match . '"' ) if ( $c->debug && $c->req->match );