1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/applications/nuance/item
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
..
NuanceFormItemType.php Issue commands to Nuance items, at least roughly 2017-05-24 11:04:57 -07:00
NuanceGitHubEventItemType.php Explicitly add rel="noreferrer" to all external links 2018-02-17 17:46:11 -08:00
NuanceItemType.php Make throwing things into the trash actually work in Nuance 2017-05-24 11:05:30 -07:00