Permalink
Browse files

Redirect should always take a full WebURL, not a WebPath

While Redirect automatically adds the host and port onto the front, we
should default to doing the right thing.
  • Loading branch information...
1 parent 1724fc9 commit 168948f30a3941f66c5227184e82594fb34c65e8 @alexmv alexmv committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/html/Search/Build.html
@@ -308,7 +308,7 @@
SavedChartSearchId => $ARGS{'SavedChartSearchId'},
SavedSearchId => $saved_search{'Id'},
);
- RT::Interface::Web::Redirect(RT->Config->Get('WebPath') . '/Search/Results.html?' . $redir_query_string);
+ RT::Interface::Web::Redirect(RT->Config->Get('WebURL') . 'Search/Results.html?' . $redir_query_string);
$m->abort;
}

0 comments on commit 168948f

Please sign in to comment.