diff options
author | cezar97 <cezar97@protonmail.com> | 2018-07-04 02:52:36 +0300 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-07-03 19:52:36 -0400 |
commit | 51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99 (patch) | |
tree | cda666fa4f35b1b7e57f8e734764cccd4988a7fe /templates/user/profile.tmpl | |
parent | 4b654ad17f50a441049c208e5011d0799522592b (diff) | |
download | gitea-51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99.tar.gz gitea-51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99.zip |
Add `noreferrer` to rel='noopener` for <a> tags (#4328)
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 915da555be..6cac300408 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -31,14 +31,14 @@ {{if .Owner.Website}} <li> <i class="octicon octicon-link"></i> - <a target="_blank" rel="noopener" href="{{.Owner.Website}}">{{.Owner.Website}}</a> + <a target="_blank" rel="noopener noreferrer" href="{{.Owner.Website}}">{{.Owner.Website}}</a> </li> {{end}} {{range .OpenIDs}} {{if .Show}} <li> <i class="fa fa-openid"></i> - <a target="_blank" rel="noopener" href="{{.URI}}">{{.URI}}</a> + <a target="_blank" rel="noopener noreferrer" href="{{.URI}}">{{.URI}}</a> </li> {{end}} {{end}} |