From 587731583f4660dee49c217f69dfc73fe006d6cf Mon Sep 17 00:00:00 2001
From: Andy Coupe <andrewmcoupe@gmail.com>
Date: Tue, 30 Jun 2020 14:40:57 +0100
Subject: improve lighthouse best practices audit (#863)

* improve safety of cross origin links

* add additional safety for cross origin links

* remove duplicates
---
 ui/src/components/main.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'ui/src/components/main.tsx')

diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx
index c168feb0..4e04fe48 100644
--- a/ui/src/components/main.tsx
+++ b/ui/src/components/main.tsx
@@ -452,6 +452,7 @@ export class Main extends Component<any, MainState> {
           <a
             href={`/feeds/all.xml?sort=${SortType[this.state.sort]}`}
             target="_blank"
+            rel="noopener"
             title="RSS"
           >
             <svg class="icon text-muted small">
@@ -467,6 +468,7 @@ export class Main extends Component<any, MainState> {
               }`}
               target="_blank"
               title="RSS"
+              rel="noopener"
             >
               <svg class="icon text-muted small">
                 <use xlinkHref="#icon-rss">#</use>
-- 
cgit v1.2.3

