]> granicus.if.org Git - apache/commitdiff
Allow a slightly larger range of acceptable responses.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 3 Aug 2001 02:17:44 +0000 (02:17 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 3 Aug 2001 02:17:44 +0000 (02:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89900 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c

index 2fa571a06fcc7642e5a45efecbd6450f589e615d..467e892ff9e7d9d5b079d40398bc2b51dbaa5440 100644 (file)
@@ -1162,7 +1162,7 @@ static struct ent *make_autoindex_entry(const apr_finfo_t *dirent,
     }
 
     if ((rr->finfo.filetype != APR_DIR && rr->finfo.filetype != APR_REG)
-        || rr->status != OK) {
+        || (rr->status != OK && ap_is_HTTP_SUCCESS(rr->status))) {
         ap_destroy_sub_req(rr);
         return (NULL);
     }