[Bps-public-commit] r13186 - RT-BugTracker-Public/html/Public/Bug

ruz at bestpractical.com ruz at bestpractical.com
Wed Jun 11 17:19:41 EDT 2008


Author: ruz
Date: Wed Jun 11 17:19:40 2008
New Revision: 13186

Modified:
   RT-BugTracker-Public/html/Public/Bug/Display.html

Log:
* use WebPath instead of WebURL during redirects, to avoid
  switching from https to http if it makes sense

Modified: RT-BugTracker-Public/html/Public/Bug/Display.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Display.html	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Display.html	Wed Jun 11 17:19:40 2008
@@ -160,7 +160,7 @@
     # resubmission on refresh.
     # But we need to store Actions somewhere too, so we don't lose them.
     $session{"Actions"} = \@Actions;
-    $m->redirect($RT::WebURL."/Ticket/Display.html?id=".$TicketObj->id);
+    $m->redirect( $RT::WebPath ."/Ticket/Display.html?id=".$TicketObj->id);
     $RT::Logger->crit("Set up the redirect");
     $m->abort();
     $RT::Logger->crit("Aborted. Should never be called");



More information about the Bps-public-commit mailing list