[Jifty-commit] r1688 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Jul 28 22:16:32 EDT 2006
Author: audreyt
Date: Fri Jul 28 22:16:31 2006
New Revision: 1688
Modified:
jifty/trunk/lib/Jifty/Dispatcher.pm
Log:
* Dispatcher did not have a ->{cgi}, so ->method certainly could not
work. Use the env variable for now.
Modified: jifty/trunk/lib/Jifty/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Dispatcher.pm (original)
+++ jifty/trunk/lib/Jifty/Dispatcher.pm Fri Jul 28 22:16:31 2006
@@ -902,8 +902,8 @@
sub _match_method {
my ( $self, $method ) = @_;
- $self->log->debug("Matching URL ".$self->{cgi}->method." against ".$method);
- lc( $self->{cgi}->method ) eq lc($method);
+ $self->log->debug("Matching URL $ENV{REQUEST_METHOD} against ".$method);
+ lc( $ENV{REQUEST_METHOD} ) eq lc($method);
}
sub _match_plugin {
More information about the Jifty-commit
mailing list