From 21e814818fb4a6e59e4615c2dd1320016a9dc6f8 Mon Sep 17 00:00:00 2001 From: Sebastian Riedel Date: Mon, 4 Oct 2004 18:44:29 +0000 Subject: [PATCH] killed rewrite_path() git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@217 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 1 - lib/Apache/MVC.pm | 1 - lib/CGI/Maypole.pm | 1 - lib/Maypole.pm | 2 -- lib/Maypole/CLI.pm | 1 - 5 files changed, 6 deletions(-) diff --git a/Changes b/Changes index bba8549..c030cf0 100644 --- a/Changes +++ b/Changes @@ -25,7 +25,6 @@ Revision history for Perl extension Maypole use Maypole::Application qw/Redirect AnotherPlugin/; note that this will only triggers with parameters to import, to preserve backwards compability. - - added rewrite_path() 1.7 Sat Jul 17 20:15:26 BST 2004 - Emergency release - we lost the "use Maypole::Constants" from diff --git a/lib/Apache/MVC.pm b/lib/Apache/MVC.pm index 4fcd8df..5eb1e4d 100644 --- a/lib/Apache/MVC.pm +++ b/lib/Apache/MVC.pm @@ -30,7 +30,6 @@ sub parse_location { my $loc = $self->{ar}->location; no warnings 'uninitialized'; $self->{path} =~ s/^($loc)?\///; - $self->rewrite_path; $self->parse_path; $self->parse_args; } diff --git a/lib/CGI/Maypole.pm b/lib/CGI/Maypole.pm index 8d9508c..67cbf92 100644 --- a/lib/CGI/Maypole.pm +++ b/lib/CGI/Maypole.pm @@ -21,7 +21,6 @@ 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; } diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 7ab6cb3..597ab7c 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -173,8 +173,6 @@ sub authenticate { return OK } sub exception { return ERROR } -sub rewrite_path { } - sub parse_path { my $self = shift; $self->{path} ||= "frontpage"; diff --git a/lib/Maypole/CLI.pm b/lib/Maypole/CLI.pm index 0fd3fa3..70fb201 100644 --- a/lib/Maypole/CLI.pm +++ b/lib/Maypole/CLI.pm @@ -26,7 +26,6 @@ sub parse_location { my $root = URI->new( $self->config->uri_base )->path; $self->{path} = $url->path; $self->{path} =~ s/^$root//i if $root; - $self->rewrite_path; $self->parse_path; $self->parse_args($url); } -- 2.39.5