]> granicus.if.org Git - apache/commitdiff
Merge r1386913, r1388825 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 24 Sep 2012 09:43:45 +0000 (09:43 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 24 Sep 2012 09:43:45 +0000 (09:43 +0000)
Revert r1371878 --  default configuration changes that drop the DNT
header from IE10.

See:
  Message-ID: <CALK=YjMGPNHBqNiad-ghzcEzxDovQgYOpjpSSyXmN=r74v43qg@mail.gmail.com>
  PR 53845

Keep this in, but commented out: also provide a little
more background/rationale. This, hopefully, satisfies both
ends of the debate: we don't "assume" that everyone who
uses this browser didn't make the specific choice, but
we allow for admins who care about DNT and want to either
  1. Make a statement
  2. Force adherence to the standard
to easily do so.
Submitted by: covener, jim
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1389261 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
docs/conf/httpd.conf.in

diff --git a/CHANGES b/CHANGES
index 128669caca234fce83484be13406d72cefd08328..cfd1253d140fa22269f4d5d72c2ebc834abfd3b8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,10 @@
 
 Changes with Apache 2.4.4
 
+  *) httpd.conf: Removed the configuration directives setting a bad_DNT
+     environment introduced in 2.4.3. The actual directives are commented
+     out in the default conf file.
+
   *) core: Apply length limit when logging Status header values.
      [Jeff Trawick, Chris Darroch]
 
index a46499dd3b5234a2539c0fe849c6edd8c33e0c57..deffada4253122e342ed7b3560b4c274923db0ef 100644 (file)
@@ -406,13 +406,15 @@ Include @rel_sysconfdir@/extra/proxy-html.conf
 SSLRandomSeed startup builtin
 SSLRandomSeed connect builtin
 </IfModule>
-
-# Deal with user agents that deliberately violate open standards
 #
-<IfModule setenvif_module>
-BrowserMatch "MSIE 10.0;" bad_DNT
-</IfModule>
-<IfModule headers_module>
-RequestHeader unset DNT env=bad_DNT
-</IfModule>
+# uncomment out the below to deal with user agents that deliberately
+# violate open standards by misusing DNT (DNT *must* be a specific
+# end-user choice)
+#
+#<IfModule setenvif_module>
+#BrowserMatch "MSIE 10.0;" bad_DNT
+#</IfModule>
+#<IfModule headers_module>
+#RequestHeader unset DNT env=bad_DNT
+#</IfModule>