[Jifty-commit] r409 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Dec 27 16:46:17 EST 2005
Author: alexmv
Date: Tue Dec 27 16:46:17 2005
New Revision: 409
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Request.pm
Log:
r8428 at zoq-fot-pik: chmrr | 2005-12-27 16:45:40 -0500
* Pull request path from ENV rather than Mason, so we keep things
like dhandlers out of the request path. This also makes
continuations to dhandlers happy.
Modified: jifty/trunk/lib/Jifty/Request.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Request.pm (original)
+++ jifty/trunk/lib/Jifty/Request.pm Tue Dec 27 16:46:17 2005
@@ -178,7 +178,9 @@
sub from_mason_args {
my $self = shift;
- $self->path( Jifty->web->mason->request_comp->path );
+ my $path = $ENV{REQUEST_URI};
+ $path =~ s/\?.*//;
+ $self->path( $path );
return $self->from_webform(%{ Jifty->web->mason->request_args });
}
More information about the Jifty-commit
mailing list