[Rt-commit] r3597 - in rt/branches/QUEBEC-EXPERIMENTAL: . bin
alexmv at bestpractical.com
alexmv at bestpractical.com
Wed Aug 3 18:08:02 EDT 2005
Author: alexmv
Date: Wed Aug 3 18:08:02 2005
New Revision: 3597
Modified:
rt/branches/QUEBEC-EXPERIMENTAL/ (props changed)
rt/branches/QUEBEC-EXPERIMENTAL/bin/webmux.pl.in
Log:
r5627 at zoq-fot-pik: chmrr | 2005-08-03 18:00:41 -0400
* Attempt to fix WebExternalAuth problem with images
Modified: rt/branches/QUEBEC-EXPERIMENTAL/bin/webmux.pl.in
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/bin/webmux.pl.in (original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/bin/webmux.pl.in Wed Aug 3 18:08:02 2005
@@ -105,15 +105,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)!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