Page MenuHomePhabricator

D8712.diff
No OneTemporary

D8712.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
Sun, Nov 10, 8:27 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718396
Default Alt Text
D8712.diff (877 B)

Event Timeline