From 8a776f146182bc6870702cfeb87041e3af66b24b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 7 Sep 2016 14:35:51 +0200 Subject: Prevent a target _blank attacks with window.opener https://mathiasbynens.github.io/rel-noopener/ noopener is implied by noreferrer https://html.spec.whatwg.org/multipage/semantics.html#link-type-noreferrer The API for window.open() does not seem stable yet https://bugzilla.mozilla.org/show_bug.cgi?id=1267339 --- app/views/helpers/feed/update.phtml | 6 +++--- app/views/helpers/index/normal/entry_bottom.phtml | 4 ++-- app/views/helpers/index/normal/entry_header.phtml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'app/views/helpers') diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index b7e8f68cd..bf87a255a 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -37,7 +37,7 @@
- +
@@ -46,10 +46,10 @@
- +
- +
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index 3af7436c3..a9d5a80ca 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -52,7 +52,7 @@ $share_options['title'] = $title; $share->update($share_options); ?> @@ -81,6 +81,6 @@ ?>
  • entry->date(); ?>
  • diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index dc544298f..86298e59f 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -27,7 +27,7 @@ } } ?>
  • ✇ feed->name(); ?>
  • -
  • entry->title(); ?>
  • +
  • entry->title(); ?>
  • entry->date(); ?> 
  • - + -- cgit v1.2.3