[Jifty-commit] jifty branch, plack-rebased, updated. 8129fc4feef2cfa13e57c32909a2aa3fc228fe89

Jifty commits jifty-commit at lists.jifty.org
Sat Feb 6 22:04:09 EST 2010


The branch, plack-rebased has been updated
       via  8129fc4feef2cfa13e57c32909a2aa3fc228fe89 (commit)
       via  33f607c1711601551f24e58c96732f02a3a59fad (commit)
      from  e1ae908445e20a25e4e07bcd43445b296e0edc2d (commit)

Summary of changes:
 lib/Jifty/Continuation.pm |    5 -----
 lib/Jifty/Web/Session.pm  |    1 +
 2 files changed, 1 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 33f607c1711601551f24e58c96732f02a3a59fad
Author: Chia-liang Kao <clkao at clkao.org>
Date:   Sun Feb 7 11:00:57 2010 +0800

    Don't try to restore plack-specific io objects we don't need.

diff --git a/lib/Jifty/Continuation.pm b/lib/Jifty/Continuation.pm
index b3441c6..5d44762 100644
--- a/lib/Jifty/Continuation.pm
+++ b/lib/Jifty/Continuation.pm
@@ -250,16 +250,11 @@ sub return {
     # Set the current request to the one in the continuation
     my $input  = Jifty->web->request->env->{"psgi.input"};
     my $errors = Jifty->web->request->env->{"psgi.errors"};
-    my $tempfh = Jifty->web->request->env->{"plack.request.tempfh"};
-    my $ihandle = Jifty->web->request->{_body_parser}
-        ? Jifty->web->request->{_body_parser}{input_handle} : undef;
 
     Jifty->web->request($self->request->clone);
 
     Jifty->web->request->env->{"psgi.input"}  = $input;
     Jifty->web->request->env->{"psgi.errors"} = $errors;
-    Jifty->web->request->env->{"plack.request.tempfh"} = $tempfh;
-    Jifty->web->request->{_body_parser}{input_handle} = $ihandle if $ihandle;
     return Jifty->web->request;
 }
 

commit 8129fc4feef2cfa13e57c32909a2aa3fc228fe89
Author: Chia-liang Kao <clkao at clkao.org>
Date:   Sun Feb 7 11:01:17 2010 +0800

    Specify cooke path.

diff --git a/lib/Jifty/Web/Session.pm b/lib/Jifty/Web/Session.pm
index c3388b9..5ebd5c7 100644
--- a/lib/Jifty/Web/Session.pm
+++ b/lib/Jifty/Web/Session.pm
@@ -210,6 +210,7 @@ sub set_cookie {
     my $cookies     = Jifty->web->request ? Jifty->web->request->cookies : {};
     my $cookie      = {
         value   => $self->id,
+        path    => '/',
         expires => $self->expires,
     };
     # XXX: do we every need to check the existing cookie to decide if

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


More information about the Jifty-commit mailing list