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

Jifty commits jifty-commit at lists.jifty.org
Tue Apr 6 04:34:23 EDT 2010


The branch, master has been updated
       via  de2d442ca6eb0a21e8be4cfc54a5c649bcc09cc8 (commit)
      from  c5d7e9a83c8e3e9305bf57c0ac3e51ccb94e2f77 (commit)

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

- Log -----------------------------------------------------------------
commit de2d442ca6eb0a21e8be4cfc54a5c649bcc09cc8
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Apr 6 16:32:50 2010 +0800

    Jifty->web->url fix: we need to set path_query to /, not just path

diff --git a/lib/Jifty/Web.pm b/lib/Jifty/Web.pm
index a8ca8a1..edfba40 100644
--- a/lib/Jifty/Web.pm
+++ b/lib/Jifty/Web.pm
@@ -134,7 +134,7 @@ sub url {
     my $req = Jifty->web->request;
     if ($req && $req->uri->host) {
         $uri = $req->uri->clone;
-        $uri->path('/');
+        $uri->path_query('/');
     }
     else {
         $uri = URI->new(Jifty->config->framework("Web")->{BaseURL});

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


More information about the Jifty-commit mailing list