wok-6.x annotate apache/stuff/fix-range-CVE-2011-3192.conf @ rev 11014

Up: bzflag to 2.4.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 03:30:25 2011 +0000 (2011-10-13)
parents
children
rev   line source
pascal@10931 1 # From http://thread.gmane.org/gmane.comp.apache.announce/58
pascal@10931 2 # Drop the Range header when more than 5 ranges.
pascal@10931 3 # CVE-2011-3192
pascal@10931 4 SetEnvIf Range (,.*?){5,} bad-range=1
pascal@10931 5 RequestHeader unset Range env=bad-range
pascal@10931 6
pascal@10931 7 # optional logging.
pascal@10931 8 #CustomLog logs/range-CVE-2011-3192.log common env=bad-range