[Jifty-commit] jifty branch, master, updated. dbbfa1adc33a1ed9cdc02134a29e6010855989d3

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 3 13:07:45 EST 2010


The branch, master has been updated
       via  dbbfa1adc33a1ed9cdc02134a29e6010855989d3 (commit)
      from  0ae1e3075afcb98e7bfbeb37b0fae1de6047e52a (commit)

Summary of changes:
 lib/Jifty/Dispatcher.pm |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit dbbfa1adc33a1ed9cdc02134a29e6010855989d3
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Feb 3 09:56:38 2010 -0800

    Revert 1f0c4bab as it causes explosions when handed UTF8 charaters in request paths.

diff --git a/lib/Jifty/Dispatcher.pm b/lib/Jifty/Dispatcher.pm
index 0b86d08..95c66b1 100644
--- a/lib/Jifty/Dispatcher.pm
+++ b/lib/Jifty/Dispatcher.pm
@@ -493,9 +493,7 @@ sub handle_request {
     local $Request = Jifty->web->request;
 
     eval {
-        my $path = $Request->path;
-        utf8::downgrade($path); # Mason handle non utf8 path.
-        $Dispatcher->_do_dispatch( $path );
+         $Dispatcher->_do_dispatch( Jifty->web->request->path);
     };
     if ( my $err = $@ ) {
         $self->log->warn(ref($err) . " " ."'$err'") if ( $err !~ /^ABORT/ );

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list