[freeside-commits] freeside/htetc handler.pl,1.103,1.104

Ivan,,, ivan at wavetail.420.am
Wed May 28 03:14:54 PDT 2008


Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail.420.am:/tmp/cvs-serv21805

Modified Files:
	handler.pl 
Log Message:
mailgate realiability fix: don't bomb out when FS dbdef hasn't been initialized yet

Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- handler.pl	8 May 2008 12:47:13 -0000	1.103
+++ handler.pl	28 May 2008 10:14:52 -0000	1.104
@@ -289,7 +289,11 @@
 
       };
       
-      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);



More information about the freeside-commits mailing list