Add noopener and/or noreferrer (#12202)

This commit is contained in:
BSKY authored and Eugen Rochko committed 2019-10-24 22:44:42 +02:00
1 parent 237293fd8c
commit fccf83e1f2
27 files changed
+46 -45

No files matched your search

+1 -1
View File
@@ -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