diff --git a/plugins/system/httpheaders/httpheaders.php b/plugins/system/httpheaders/httpheaders.php index 7767d84cb2cb9..c16cbfa5fe718 100644 --- a/plugins/system/httpheaders/httpheaders.php +++ b/plugins/system/httpheaders/httpheaders.php @@ -301,7 +301,7 @@ private function setHstsHeader() { $maxAge = (int) $this->params->get('hsts_maxage', 31536000); $hstsOptions = array(); - $hstsOptions[] = $maxAge < 300 ? 'max-age: 300' : 'max-age: ' . $maxAge; + $hstsOptions[] = $maxAge < 300 ? 'max-age=300' : 'max-age=' . $maxAge; if ($this->params->get('hsts_subdomains', 0)) {