projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e5fd495
)
localhost vs redirect bug
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 2 Jul 2012 22:16:41 +0000
(15:16 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 2 Jul 2012 22:16:41 +0000
(15:16 -0700)
rt/lib/RT/Interface/Web.pm
patch
|
blob
|
history
diff --git
a/rt/lib/RT/Interface/Web.pm
b/rt/lib/RT/Interface/Web.pm
index
262aeac
..
94da307
100644
(file)
--- 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;