[Bps-public-commit] r10894 - RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler

ruz at bestpractical.com ruz at bestpractical.com
Wed Feb 20 06:42:24 EST 2008


Author: ruz
Date: Wed Feb 20 06:42:22 2008
New Revision: 10894

Modified:
   RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default

Log:
* add XXX note, not sure

Modified: RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default
==============================================================================
--- RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default	(original)
+++ RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default	Wed Feb 20 06:42:22 2008
@@ -54,7 +54,7 @@
     # The following logic is very similar to the priv/unpriv logic
     #
     my $path = $m->request_comp->path;
-    
+
     # if the user is trying to access a ticket, redirect them
     if ( $path =~ '^(/+)Ticket/Display.html'
             and $ARGS{'id'} )
@@ -63,13 +63,14 @@
                         . $m->interp->apply_escapes($ARGS{'id'}, 'u'));
         $m->abort();
     }
-    
+
     elsif ( $path =~ '^(/+)Dist/Display.html' and $ARGS{'Queue'} ) {
         $m->redirect($RT::WebPath . "/Public/Dist/Display.html?Name="
                         . $m->interp->apply_escapes($ARGS{'Queue'}, 'u'));
     }
-    
+
     # otherwise, drop the user at the Public default page
+    # XXX: don't we want to check against 'NoAuthRegexp' instead???
     elsif (    $path !~ '^(/+)Public/'
            and $path !~ '^(/+)NoAuth/'
            and $path !~ '^(/+)Ticket/Attachment/') {



More information about the Bps-public-commit mailing list