1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 23:32:40 +01:00
phorge-phorge/src/view
epriestley 9658249ac5 Add "Referrer-Policy: no-referrer" to standard HTTP headers
Summary:
Ref T4340. Some browsers respect this header and referrers are a plague upon the earth.

Also, upgrade "never" to the more modern value "no-referrer".

Test Plan:
In Safari, Firefox and Chrome, disabled `rel="noreferrer"` on links and generated a normal link to an external site. Then clicked it and checked if a referrer was sent.

  - Safari respects meta only, but "no-referrer" is fine.
  - Firefox respects both (either the header or meta tag are individually sufficient to stop referrers).
  - Chrome respects both (same as Firefox).

Maniphest Tasks: T4340

Differential Revision: https://secure.phabricator.com/D19144
2018-02-27 12:59:41 -08:00
..
__tests__ Fix local time test case for logged-out viewers using global settings 2016-11-28 09:27:11 -08:00
control Provide default values for table view properties which are counted 2018-02-25 21:54:06 +00:00
extension Introduce "Curtain" views, panels, and extensions 2016-03-06 09:27:55 -08:00
form Emit a "Content-Security-Policy" HTTP header 2018-02-27 10:17:30 -08:00
layout Make the filetree view width sticky across show/hide and reload 2018-02-22 13:47:41 -08:00
page Add "Referrer-Policy: no-referrer" to standard HTTP headers 2018-02-27 12:59:41 -08:00
phui Explicitly add rel="noreferrer" to all external links 2018-02-17 17:46:11 -08:00
widget Move PhabricatorHovercard to PHUIHovercard 2016-02-03 16:26:30 +00:00
AphrontDialogView.php Separate button CSS classes 2017-06-05 20:14:34 +00:00
AphrontJavelinView.php Various linter fixes 2015-05-20 07:27:41 +10:00
AphrontNullView.php Provide hasChildren() to replace isEmptyContent() 2013-08-12 07:51:01 -07:00
AphrontTagView.php Remove extra container tag on HandleListViews rendering from ModularTransactions in text mode 2017-01-09 08:41:59 -08:00
AphrontView.php Fix spelling 2017-10-09 10:48:04 -07:00
viewutils.php Render timezones in event reminder mail, and render them more nicely 2017-04-10 08:48:37 -07:00