[Bps-public-commit] r13185 - in RT-BugTracker-Public/html: Public/Search

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


Author: ruz
Date: Wed Jun 11 17:17:21 2008
New Revision: 13185

Modified:
   RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth
   RT-BugTracker-Public/html/Public/Search/Simple.html

Log:
* add missing WebPath prefix

Modified: RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth
==============================================================================
--- RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth	(original)
+++ RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth	Wed Jun 11 17:17:21 2008
@@ -65,7 +65,7 @@
     elsif ( $m->request_comp->path =~ '^(/+)Ticket/Display.html'
                 and $ARGS{'id'} )
     {
-        $m->redirect( '/Public/Bug/Display.html?id=' . $ARGS{'id'} );
+        $m->redirect( $RT::WebPath .'/Public/Bug/Display.html?id=' . $ARGS{'id'} );
     }
 }
 </%init>

Modified: RT-BugTracker-Public/html/Public/Search/Simple.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Search/Simple.html	(original)
+++ RT-BugTracker-Public/html/Public/Search/Simple.html	Wed Jun 11 17:17:21 2008
@@ -87,14 +87,14 @@
         my $queue = RT::Queue->new( $session{'CurrentUser'} );
         $queue->Load($q);
         if ($queue->id) { 
-            $m->redirect( '/Public/Dist/Display.html?Name=' . $m->interp->apply_escapes($q, 'u') );
+            $m->redirect( $RT::WebPath .'/Public/Dist/Display.html?Name=' . $m->interp->apply_escapes($q, 'u') );
             $m->abort();
         }
 
         my $user = RT::User->new( $session{'CurrentUser'} );
         $user->Load($q);
         if ($user->id) {
-            $m->redirect( '/Public/Dist/ByMaintainer.html?Name=' . $m->interp->apply_escapes($q, 'u') );
+            $m->redirect( $RT::WebPath .'/Public/Dist/ByMaintainer.html?Name=' . $m->interp->apply_escapes($q, 'u') );
             $m->abort();
         }
     }



More information about the Bps-public-commit mailing list