wok-6.x view apache/stuff/fix-range-CVE-2011-3192.conf @ rev 19823
Up cookutils(887), yandex-disk: up bdeps and rebuild.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 03 02:42:35 2017 +0200 (2017-03-03) |
parents | |
children |
line source
1 # From http://thread.gmane.org/gmane.comp.apache.announce/58
2 # Drop the Range header when more than 5 ranges.
3 # CVE-2011-3192
4 SetEnvIf Range (,.*?){5,} bad-range=1
5 RequestHeader unset Range env=bad-range
7 # optional logging.
8 #CustomLog logs/range-CVE-2011-3192.log common env=bad-range