about summary refs log tree commit diff
path: root/app/views/admin/reports/_status.html.haml
diff options
context:
space:
mode:
authorBSKY <git@bsky.moe>2019-10-25 05:44:42 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-10-24 22:44:42 +0200
commitfccf83e1f2ecd4e23f7b1faee5330976d17da7b8 (patch)
tree66d790a9e0089488a9b46fdd5e939c395620b932 /app/views/admin/reports/_status.html.haml
parent237293fd8cacb8b6525d54170c864c76d52ae6aa (diff)
Add noopener and/or noreferrer (#12202)
Diffstat (limited to 'app/views/admin/reports/_status.html.haml')
-rw-r--r--app/views/admin/reports/_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/reports/_status.html.haml b/app/views/admin/reports/_status.html.haml
index 6facc0a56..425d315e1 100644
--- a/app/views/admin/reports/_status.html.haml
+++ b/app/views/admin/reports/_status.html.haml
@@ -19,7 +19,7 @@
         = react_component :media_gallery, height: 343, sensitive: !current_account&.user&.show_all_media? && status.proper.sensitive? || current_account&.user&.hide_all_media?, 'autoPlayGif': current_account&.user&.setting_auto_play_gif, media: status.proper.media_attachments.map { |a| ActiveModelSerializers::SerializableResource.new(a, serializer: REST::MediaAttachmentSerializer).as_json }
 
     .detailed-status__meta
-      = link_to ActivityPub::TagManager.instance.url_for(status), class: 'detailed-status__datetime', target: stream_link_target, rel: 'noopener' do
+      = link_to ActivityPub::TagManager.instance.url_for(status), class: 'detailed-status__datetime', target: stream_link_target, rel: 'noopener noreferrer' do
         %time.formatted{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at)
       - if status.discarded?
         ·