[Rt-commit] r3789 - in rt/branches/CHALDEA-EXPERIMENTAL: . bin

jesse at bestpractical.com jesse at bestpractical.com
Fri Sep 2 12:04:13 EDT 2005


Author: jesse
Date: Fri Sep  2 12:04:12 2005
New Revision: 3789

Modified:
   rt/branches/CHALDEA-EXPERIMENTAL/   (props changed)
   rt/branches/CHALDEA-EXPERIMENTAL/bin/webmux.pl.in
Log:
 r14074 at hualien:  jesse | 2005-08-30 05:55:48 -0400
  r13544 at hualien:  jesse | 2005-08-19 10:40:27 -0400
   r7387 at hualien (orig r3597):  alexmv | 2005-08-03 18:08:02 -0400
    r5627 at zoq-fot-pik:  chmrr | 2005-08-03 18:00:41 -0400
     * Attempt to fix WebExternalAuth problem with images
   
  
 


Modified: rt/branches/CHALDEA-EXPERIMENTAL/bin/webmux.pl.in
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/bin/webmux.pl.in	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/bin/webmux.pl.in	Fri Sep  2 12:04:12 2005
@@ -104,15 +104,15 @@
     local $SIG{__WARN__};
     local $SIG{__DIE__};
 
-    # We don't need to handle non-text, non-xml items
     if ($r->content_type =~ m/^httpd\b.*\bdirectory/i) {
         use File::Spec::Unix;
         # Our DirectoryIndex is always index.html, regardless of httpd settings
         $r->filename( File::Spec::Unix->catfile( $r->filename, 'index.html' ) );
     }
-    elsif (defined( $r->content_type )) {
-	$r->content_type =~ m!(^text/|\bxml\b|\bjavascript\b)!i or return -1;
-    }
+## This makes accessing images be possibly Wrong with WebExternalAuth
+#    elsif (defined( $r->content_type )) {
+#	$r->content_type =~ m!(^text/|\bxml\b)!i or return -1;
+#    }
 
     Module::Refresh->refresh if $RT::DevelMode;
 


More information about the Rt-commit mailing list