Skip to content

Commit a381ff3

Browse files
committed
Apache does not tolerate deliberate abuse of open standards
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371878 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9843179 commit a381ff3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎docs/conf/httpd.conf.in‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,3 +409,13 @@ Include @rel_sysconfdir@/extra/proxy-html.conf
409409
SSLRandomSeed startup builtin
410410
SSLRandomSeed connect builtin
411411
</IfModule>
412+
413+
# Deal with user agents that deliberately violate open standards
414+
#
415+
<IfModule setenvif_module>
416+
BrowserMatch "MSIE 10.0;" bad_DNT
417+
</IfModule>
418+
<IfModule headers_module>
419+
RequestHeader unset DNT env=bad_DNT
420+
</IfModule>
421+

0 commit comments

Comments
 (0)