[freeside-commits] freeside/htetc freeside-rt.conf, 1.6, 1.7 handler.pl, 1.121, 1.122
Ivan,,,
ivan at wavetail.420.am
Sat Aug 14 17:44:56 PDT 2010
Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail.420.am:/tmp/cvs-serv16313/htetc
Modified Files:
freeside-rt.conf handler.pl
Log Message:
address root cause of rt/rt links and remove the workarounds, RT#9280
Index: freeside-rt.conf
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/freeside-rt.conf,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- freeside-rt.conf 30 Jun 2010 06:58:40 -0000 1.6
+++ freeside-rt.conf 15 Aug 2010 00:44:54 -0000 1.7
@@ -1,10 +1,6 @@
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/NoAuth>
-<Limit GET POST>
-allow from all
-Satisfy any
SetHandler perl-script
PerlHandler HTML::Mason
-</Limit>
</Directory>
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/REST/1.0/NoAuth>
Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -w -d -r1.121 -r1.122
--- handler.pl 15 Feb 2010 16:34:42 -0000 1.121
+++ handler.pl 15 Aug 2010 00:44:54 -0000 1.122
@@ -57,16 +57,17 @@
if ( $r->filename =~ /\/rt\// ) { #RT
- $ah->interp($rt_interp);
+ # We don't need to handle non-text, non-xml items
+ return -1 if defined( $r->content_type )
+ && $r->content_type !~ m!(^text/|\bxml\b)!io;
+
local $SIG{__WARN__};
local $SIG{__DIE__};
RT::Init();
- # We don't need to handle non-text, non-xml items
- return -1 if defined( $r->content_type )
- && $r->content_type !~ m!(^text/|\bxml\b)!io;
+ $ah->interp($rt_interp);
} else {
More information about the freeside-commits
mailing list