diff options
Diffstat (limited to 'htetc/handler.pl')
-rw-r--r-- | htetc/handler.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/htetc/handler.pl b/htetc/handler.pl index 4ff08d473..dade7128a 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -258,7 +258,11 @@ sub handler }; - unless ( $HTML::Mason::r->filename =~ /\/rt\/.*NoAuth/ ) { #RT + #is this conditional a bad idea entirely, hmm + unless ( + $HTML::Mason::r->filename =~ /\/rt\/.*NoAuth/ #RT images/JS + && $HTML::Mason::r->filename !~ /\/rt\/REST\// #but NOT mail gw + ) { $cgi = new CGI; &cgisuidsetup($cgi); #&cgisuidsetup($r); |