Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

seeing string not int

$
0
0

hsts is displaying as 'max-age=31536000' not as max-age=31536000.

if ($Site.HSTS)
{
if ($Site.HSTSAge -lt 31536000)
{
}
cIisCustomHeaders ($FQDN + '_HSTS')
{
Name = 'Strict-Transport-Security'
Value = "max-age=$($Site.HSTSAge)"
Location = $FQDN
Ensure = $Site.HSTS
}
}


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>