Page MenuHomePhabricator

D8712.id20659.diff
No OneTemporary

D8712.id20659.diff

diff --git a/src/view/page/PhabricatorBarePageView.php b/src/view/page/PhabricatorBarePageView.php
--- a/src/view/page/PhabricatorBarePageView.php
+++ b/src/view/page/PhabricatorBarePageView.php
@@ -89,14 +89,22 @@
'content' => 'black-translucent'
));
+ $referrer_tag = phutil_tag(
+ 'meta',
+ array(
+ 'name' => 'referrer',
+ 'content' => 'never',
+ ));
+
$response = CelerityAPI::getStaticResourceResponse();
$developer = PhabricatorEnv::getEnvConfig('phabricator.developer-mode');
return hsprintf(
- '%s%s%s%s%s',
+ '%s%s%s%s%s%s',
$viewport_tag,
$icon_tag,
$apple_tag,
+ $referrer_tag,
CelerityStaticResourceResponse::renderInlineScript(
$framebust.jsprintf('window.__DEV__=%d;', ($developer ? 1 : 0))),
$response->renderResourcesOfType('css'));

File Metadata

Mime Type
text/plain
Expires
Oct 16 2024, 5:27 PM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718396
Default Alt Text
D8712.id20659.diff (877 B)

Event Timeline