]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
From Robert Collins:
authorhno <>
Sun, 28 Jan 2001 23:23:36 +0000 (23:23 +0000)
committerhno <>
Sun, 28 Jan 2001 23:23:36 +0000 (23:23 +0000)
The req_mime_type acl was  parsed as a word list and matched as a regex :-/

src/acl.cc

index 254a40baf0cc9d19fc0e0417f320f86c5f7f7cb1..80af56f4b98e12fcc3d2e543b7db182bcc9df732 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: acl.cc,v 1.241 2001/01/12 00:37:14 wessels Exp $
+ * $Id: acl.cc,v 1.242 2001/01/28 16:23:36 hno Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -823,7 +823,7 @@ because no authentication schemes are fully configured.\n", A->cfgline);
        break;
 #endif
     case ACL_REQ_MIME_TYPE:
-       aclParseWordList(&A->data);
+       aclParseRegexList(&A->data);
        break;
     case ACL_NONE:
     default: