diff options
author | BSKY <git@bsky.moe> | 2019-10-25 05:44:42 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-10-24 22:44:42 +0200 |
commit | fccf83e1f2ecd4e23f7b1faee5330976d17da7b8 (patch) | |
tree | 66d790a9e0089488a9b46fdd5e939c395620b932 /app/views/application | |
parent | 237293fd8cacb8b6525d54170c864c76d52ae6aa (diff) |
Add noopener and/or noreferrer (#12202)
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_card.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_card.html.haml b/app/views/application/_card.html.haml index 8719ce484..808dce514 100644 --- a/app/views/application/_card.html.haml +++ b/app/views/application/_card.html.haml @@ -1,7 +1,7 @@ - account_url = local_assigns[:admin] ? admin_account_path(account.id) : ActivityPub::TagManager.instance.url_for(account) .card.h-card - = link_to account_url, target: '_blank', rel: 'noopener' do + = link_to account_url, target: '_blank', rel: 'noopener noreferrer' do .card__img = image_tag account.header.url, alt: '' .card__bar |