1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/search/menuitem
epriestley 05a4c55c52 Explicitly add rel="noreferrer" to all external links
Summary: See D19117. Instead of automatically figuring this out inside `phutil_tag()`, explicitly add rel="noreferrer" at the application level to all external links.

Test Plan:
  - Grepped for `_blank`, `isValidRemoteURIForLink`, checked all callsites for user-controlled data.
  - Created a link menu item, verified noreferrer in markup.
  - Created a link custom field, verified no referrer in markup.
  - Verified noreferrer for `{nav href=...}`.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D19118
2018-02-17 17:46:11 -08:00
..
PhabricatorApplicationProfileMenuItem.php Update menu item names for Applications -> Favorites 2017-09-05 19:05:03 -07:00
PhabricatorConpherenceProfileMenuItem.php Remove recentParticipants from ConpherenceThread 2017-04-13 13:55:08 -07:00
PhabricatorDashboardProfileMenuItem.php Add ActionIcon to PHUIListItemView, use in Dashboards 2017-03-16 11:32:16 -07:00
PhabricatorDividerProfileMenuItem.php Add some style to label in Favorites Menu 2017-02-01 07:20:31 -08:00
PhabricatorEditEngineProfileMenuItem.php Don't allow forms which can't create objects to be added to profile menus 2017-02-16 15:45:11 -08:00
PhabricatorLabelProfileMenuItem.php Add Label MenuItem 2017-01-31 13:17:53 -08:00
PhabricatorLinkProfileMenuItem.php Explicitly add rel="noreferrer" to all external links 2018-02-17 17:46:11 -08:00
PhabricatorManageProfileMenuItem.php Replace ProfileMenu bugs with different bugs 2017-01-31 11:22:01 -08:00
PhabricatorMotivatorProfileMenuItem.php Fix spelling 2017-10-09 10:48:04 -07:00
PhabricatorProfileMenuItem.php Allow menu items to render their own content; make Dashboard items render on-page 2017-01-26 12:57:03 -08:00
PhabricatorProfileMenuItemIconSet.php Rename all ProfilePanels into ProfileMenuItems 2016-12-11 11:44:38 -08:00
PhabricatorProjectProfileMenuItem.php Minor consistency/order updates for menu items which reference other objects 2017-01-20 11:58:39 -08:00