FSN#37527 HSTS ook actief kunnen uitschakelen
svn path=/Website/trunk/; revision=30403
This commit is contained in:
@@ -181,8 +181,8 @@ if (S("auto_https") && Request.ServerVariables("SERVER_PORT") != "443")
|
||||
Response.End;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (typeof NO_ADDHEADER == "undefined" && S("hsts_maxage") > 0)
|
||||
{ // 0 wordt ook ondersteund om het actief uit te schakelen
|
||||
if (typeof NO_ADDHEADER == "undefined" && S("hsts_maxage") >= 0)
|
||||
Response.AddHeader("Strict-Transport-Security", "max-age=" + S("hsts_maxage")); // Geen includeSubDomains, dat nekt http://facilitor.nl
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user