From: Sebastian Riedel Date: Thu, 14 Apr 2005 12:34:05 +0000 (+0000) Subject: fixed the absolute forward bug X-Git-Tag: 5.7099_04~1546 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bad166026444b5b9d6fe89115be7150d313e3140 fixed the absolute forward bug --- diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index d5c2aeb..9287bdb 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -115,7 +115,7 @@ sub forward { my $caller = caller(0); my $namespace = '/'; if ( $command =~ /^\// ) { - $command =~ /^(.*)\/(\w+)$/; + $command =~ /^\/(.*)\/(\w+)$/; $namespace = $1 || '/'; $command = $2; }