[Jifty-commit] r1580 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jul 14 21:27:29 EDT 2006


Author: jesse
Date: Fri Jul 14 21:27:28 2006
New Revision: 1580

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Server.pm
   jifty/trunk/lib/Jifty/Web.pm

Log:
 r13968 at pinglin:  jesse | 2006-07-14 21:27:22 -0400
 * Proper port support on urls. Thanks to jpeacock.


Modified: jifty/trunk/lib/Jifty/Server.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Server.pm	(original)
+++ jifty/trunk/lib/Jifty/Server.pm	Fri Jul 14 21:27:28 2006
@@ -98,7 +98,7 @@
 
 sub print_banner {
     my $self = shift;
-    $self->log->info("You can connect to your server at ", Jifty::Web->url, "/");
+    $self->log->info("You can connect to your server at ", Jifty::Web->url);
 } 
 
 =head2 recorder_prefix

Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm	(original)
+++ jifty/trunk/lib/Jifty/Web.pm	Fri Jul 14 21:27:28 2006
@@ -121,7 +121,8 @@
         $self->log->error("Jifty->web->url no longer accepts a 'scheme' argument");
     }
     my $uri = URI->new($url);
-    
+    $uri->port($port);
+
     if ($ENV{'HTTP_HOST'}) {
         return $uri->scheme ."://".$ENV{'HTTP_HOST'};
     }


More information about the Jifty-commit mailing list