]> granicus.if.org Git - apache/commitdiff
Fix to make xbithack work again
authorBrian Pane <brianp@apache.org>
Sat, 29 Dec 2001 21:34:04 +0000 (21:34 +0000)
committerBrian Pane <brianp@apache.org>
Sat, 29 Dec 2001 21:34:04 +0000 (21:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92652 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index b135f09e956028f3198f1fdd0f978e573e573fe5..045576dcf954810d02660506978811c03d9ef238 100644 (file)
@@ -3220,7 +3220,7 @@ static int include_fixup(request_rec *r)
             return DECLINED;
         }
 
-        if (!r->handler || strcmp(r->handler, "text/html")) {
+        if (r->handler && strcmp(r->handler, "text/html")) {
             return DECLINED;
         }
     }