function _seckit_referrer_policy in Security Kit 7
Sends Referrer-Policy HTTP response header.
Implementation is based on specification draft available at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy.
1 call to _seckit_referrer_policy()
- seckit_init in ./
seckit.module - Implements hook_init().
File
- ./
seckit.module, line 688 - Allows administrators to improve security of the website.
Code
function _seckit_referrer_policy() {
$options = _seckit_get_options();
$value = $options['seckit_various']['referrer_policy_policy'];
drupal_add_http_header('Referrer-Policy', $value);
}