]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/CLI.pm
added preprocess_location method
[maypole.git] / lib / Maypole / CLI.pm
index facedc12d2b27dc04bcda72a533a0bf97a582b7f..39abf1546370987a26f16fb00d57c584bf14b045 100644 (file)
@@ -36,6 +36,9 @@ sub warn {
 sub parse_location {
     my $self = shift;
     my $url  = URI->new( shift @ARGV );
+
+    $self->preprocess_location();
+
     (my $uri_base = $self->config->uri_base) =~ s:/$::;
     my $root = URI->new( $uri_base )->path;
     $self->{path} = $url->path;