[Rt-commit] [svn] r1493 - in rt: . branches/3.3-TESTING/bin
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Wed Sep 15 11:40:45 EDT 2004
Author: autrijus
Date: Wed Sep 15 11:40:44 2004
New Revision: 1493
Modified:
rt/ (props changed)
rt/branches/3.3-TESTING/bin/webmux.pl.in (contents, props changed)
Log:
r7404 at not: | 2004-09-15T00:04:07.008049Z
r7442 at not: | 2004-09-15T15:39:23.096249Z
----------------------------------------------------------------------
r7441 at not: autrijus | 2004-09-15T15:20:23.097011Z
* Luis Arnauth pointed out that we did not serve mail-gateway.
----------------------------------------------------------------------
Modified: rt/branches/3.3-TESTING/bin/webmux.pl.in
==============================================================================
--- rt/branches/3.3-TESTING/bin/webmux.pl.in (original)
+++ rt/branches/3.3-TESTING/bin/webmux.pl.in Wed Sep 15 11:40:44 2004
@@ -104,14 +104,12 @@
RT::Init();
# We don't need to handle non-text, non-xml items
- defined( $r->content_type ) or return -1;
-
if ($r->content_type =~ m/^httpd\b.*\bdirectory/i) {
# Our DirectoryIndex is always index.html, regardless of httpd settings
$r->filename( $r->filename . 'index.html' );
}
- elsif ($r->content_type !~ m!(^text/|\bxml\b)!i) {
- return -1;
+ elsif (defined( $r->content_type )) {
+ $r->content_type =~ m!(^text/|\bxml\b)!i or return -1;
}
More information about the Rt-commit
mailing list