]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/CGI/Maypole.pm
Ordering should not matter for parameters to ::Application.
[maypole.git] / lib / CGI / Maypole.pm
index db8cc75149dc180af39653c03484db0a88b5cd14..345b68ee9c0e577f4ffff06780b07b40dafe0f7e 100644 (file)
@@ -3,7 +3,8 @@ use base 'Maypole';
 
 use strict;
 use warnings;
-our $VERSION = "0.3";
+
+our $VERSION = '2.05';
 
 sub run {
     my $self = shift;
@@ -21,6 +22,7 @@ sub parse_location {
     my $loc = $self->{cgi}->url( -absolute => 1 );
     no warnings 'uninitialized';
     $self->{path} =~ s/^($loc)?\///;
+    $self->{path} .= '/' if $self->{path} eq $loc;
     $self->parse_path;
     $self->parse_args;
 }