[Rt-commit] rt branch, 4.0/redirect-web-url, created. rt-4.0.5-93-g168948f
Alex Vandiver
alexmv at bestpractical.com
Tue Mar 20 14:18:08 EDT 2012
The branch, 4.0/redirect-web-url has been created
at 168948f30a3941f66c5227184e82594fb34c65e8 (commit)
- Log -----------------------------------------------------------------
commit 168948f30a3941f66c5227184e82594fb34c65e8
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Mar 20 14:17:51 2012 -0400
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.
diff --git a/share/html/Search/Build.html b/share/html/Search/Build.html
index 3fb3d41..c670559 100644
--- a/share/html/Search/Build.html
+++ b/share/html/Search/Build.html
@@ -308,7 +308,7 @@ if ( $ARGS{'DoSearch'} ) {
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;
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list