function noreferrer_publish_uri in No Referrer 7
Returns domain whitelist URI.
2 calls to noreferrer_publish_uri()
- noreferrer_admin in ./
noreferrer.admin.inc - Admin settings form.
- noreferrer_publish in ./
noreferrer.admin.inc - Publishes domain whitelist.
File
- ./
noreferrer.admin.inc, line 107 - Admin settings callbacks for no referrer module.
Code
function noreferrer_publish_uri() {
// For security through obscurity purposes, the whitelist URL is secret.
return 'public://noreferrer-whitelist-' . drupal_hmac_base64('noreferrer-whitelist', drupal_get_private_key()) . '.json';
}