mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 17:08:11 +00:00
add includeSubDomains; preload to Strict-Transport-Security header
This commit is contained in:
parent
5a212cc784
commit
cc2b57e486
|
@ -73,7 +73,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header('X-Content-Type-Options: nosniff');
|
header('X-Content-Type-Options: nosniff');
|
||||||
header('Strict-Transport-Security: max-age=15768000');
|
header('Strict-Transport-Security: max-age=15768000; includeSubDomains; preload');
|
||||||
if($httpheader) {
|
if($httpheader) {
|
||||||
foreach($httpheader as $name=>$value) {
|
foreach($httpheader as $name=>$value) {
|
||||||
header($name . ": " . $value);
|
header($name . ": " . $value);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user