[freeside-commits] freeside/htetc handler.pl,1.86.2.10,1.86.2.11
Ivan,,,
ivan at wavetail.420.am
Wed May 28 03:14:55 PDT 2008
Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail.420.am:/tmp/cvs-serv21812
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.86.2.10
retrieving revision 1.86.2.11
diff -u -d -r1.86.2.10 -r1.86.2.11
--- handler.pl 20 Feb 2008 01:19:46 -0000 1.86.2.10
+++ handler.pl 28 May 2008 10:14:53 -0000 1.86.2.11
@@ -258,7 +258,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