]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
header_access Accept-Charset ... not Charset
authorhno <>
Wed, 4 Sep 2002 19:33:13 +0000 (19:33 +0000)
committerhno <>
Wed, 4 Sep 2002 19:33:13 +0000 (19:33 +0000)
Also added a warning that header_access violates the HTTP specification
and made it conditional on --disable-http-violations

src/cf.data.pre

index 52876681bac548025cffd71814abea81aa52d8df..4ae46c7e4ce0351480b393a86d5a7c9171c5fd0a 100644 (file)
@@ -1,6 +1,6 @@
 
 #
-# $Id: cf.data.pre,v 1.282 2002/09/04 03:51:41 wessels Exp $
+# $Id: cf.data.pre,v 1.283 2002/09/04 13:33:13 hno Exp $
 #
 #
 # SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -3054,12 +3054,17 @@ DOC_START
 DOC_END
 
 NAME: header_access
+IFDEF: HTTP_VIOLATIONS
 TYPE: http_header_access[]
 LOC: Config.header_access
 DEFAULT: none
 DOC_START
        Usage: header_access header_name allow|deny [!]aclname ...
 
+       WARNING: Doing this VIOLATES the HTTP standard.  Enabling
+       this feature could make you liable for problems which it
+       causes.
+
        This option replaces the old 'anonymize_headers' and the
        older 'http_anonymizer' option with something that is much
        more configurable. This new method creates a list of ACLs
@@ -3097,7 +3102,7 @@ DOC_START
                header_access Location allow all
                header_access Pragma allow all
                header_access Accept allow all
-               header_access Charset allow all
+               header_access Accept-Charset allow all
                header_access Accept-Encoding allow all
                header_access Accept-Language allow all
                header_access Content-Language allow all