X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=c2e925b2738c63915cbfe5c1388b9f9bb77edca1;hb=f9451270ac09ec79f7185213288c927501010d1f;hp=0b2c012e86790881ad42245eaf47f0066230a7a9;hpb=7af54927870a7c6f89323ac1876d49f92e7841f5;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 0b2c012..c2e925b 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -113,7 +113,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90019'; +our $VERSION = '5.90020'; sub import { my ( $class, @arguments ) = @_; @@ -1341,10 +1341,14 @@ sub uri_for { # join args with '/', or a blank string my $args = join('/', grep { defined($_) } @args); $args =~ s/\?/%3F/g; # STUPID STUPID SPECIAL CASE - $args =~ s!^/+!!; - my $base = $c->req->base; - my $class = ref($base); - $base =~ s{(?req->base; + $class = ref($base); + $base =~ s{(?