]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Apache/MVC.pm
applied patch from nicg : Modified MVC.pm to correct problem with LocationMatch and...
[maypole.git] / lib / Apache / MVC.pm
index 831527639e58336d5cb0afb8af647cbeaf1fb5eb..384b497d28154b8a98c48f67141f3c2339df71e7 100644 (file)
@@ -134,7 +134,8 @@ sub parse_location {
     }
 
     my $path = $self->ar->uri;
-    my $loc  = $self->ar->location;
+    my $base  = URI->new($self->config->uri_base);
+    my $loc = $base->path;
 
     {
         no warnings 'uninitialized';