[freeside-commits] branch master updated. 508c7c268254ef63f26bb8a59aa679a6e24f5019

Ivan ivan at 420.am
Mon Jul 2 15:16:56 PDT 2012


The branch, master has been updated
       via  508c7c268254ef63f26bb8a59aa679a6e24f5019 (commit)
       via  57c7321b85ecc3945cfca160bf6d84991c43bd3a (commit)
      from  92aedddd3684167abb60cd3f1d77bbc156c592e6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 508c7c268254ef63f26bb8a59aa679a6e24f5019
Merge: 57c7321 92aeddd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jul 2 15:16:52 2012 -0700

    Merge branch 'master' of git.freeside.biz:/home/git/freeside


commit 57c7321b85ecc3945cfca160bf6d84991c43bd3a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jul 2 15:16:41 2012 -0700

    localhost vs redirect bug

diff --git a/rt/lib/RT/Interface/Web.pm b/rt/lib/RT/Interface/Web.pm
index 262aeac..94da307 100644
--- a/rt/lib/RT/Interface/Web.pm
+++ b/rt/lib/RT/Interface/Web.pm
@@ -783,7 +783,7 @@ sub Redirect {
     my $redir_to = shift;
     untie $HTML::Mason::Commands::session;
     my $uri        = URI->new($redir_to);
-    my $server_uri = URI->new( RT->Config->Get('WebURL') );
+    my $server_uri = URI->new( _NormalizeHost(RT->Config->Get('WebURL')) );
     
     # Make relative URIs absolute from the server host and scheme
     $uri->scheme($server_uri->scheme) if not defined $uri->scheme;

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

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




More information about the freeside-commits mailing list