Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f539bbd7fe
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.568 kb
# For now
sub sec_contentencoding_sev1 {
set req.http.X-SEC-Severity = "1";
call sec_handler;
sub vcl_recv {
set req.http.X-SEC-Module = "contentencoding";
# Security.vcl does not support content encodings
if(req.http.Content-Encoding ~ "!^Identity$"){
set req.http.X-SEC-RuleName = "Inbound compressed content";
set req.http.X-SEC-RuleId = "1";
set req.http.X-SEC-RuleInfo = "Blocks inbound compressed content";
call sec_contentencoding_sev1;
Jump to Line
Something went wrong with that request. Please try again.