X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=blobdiff_plain;f=lib%2FCGI%2FMaypole.pm;h=8d9508c78ae66e50200ce72dc1ac276ef590b67d;hp=67cbf92f1c08e34325e1c767b5ffb845393632ff;hb=6f3e2ec142b6dd83d7d4960cf15acd6ca8b73e1d;hpb=1ac110f4ecb782e381db456a3326ff71cb96a73e diff --git a/lib/CGI/Maypole.pm b/lib/CGI/Maypole.pm index 67cbf92..8d9508c 100644 --- a/lib/CGI/Maypole.pm +++ b/lib/CGI/Maypole.pm @@ -21,6 +21,7 @@ sub parse_location { my $loc = $self->{cgi}->url( -absolute => 1 ); no warnings 'uninitialized'; $self->{path} =~ s/^($loc)?\///; + $self->rewrite_path; $self->parse_path; $self->parse_args; }