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/applications/harbormaster/artifact
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
..
HarbormasterArtifact.php Allow "harbormaster.createartifact" to decode raw HTTP parameter types of artifact properties 2016-11-17 08:03:01 -08:00
HarbormasterDrydockLeaseArtifact.php In Harbormaster, make sure artifacts are destroyed even if a build is aborted 2015-10-05 05:58:53 -07:00
HarbormasterFileArtifact.php Add harbormaster.createartifact 2015-08-15 07:28:56 -07:00
HarbormasterHostArtifact.php Allow Harbormaster to lease working copies from Drydock 2015-09-24 17:29:47 -07:00
HarbormasterURIArtifact.php Explicitly add rel="noreferrer" to all external links 2018-02-17 17:46:11 -08:00
HarbormasterWorkingCopyArtifact.php Allow Harbormaster to lease working copies from Drydock 2015-09-24 17:29:47 -07:00