From 90cb02105ebaaae46428d4daac5647cea12c0773 Mon Sep 17 00:00:00 2001
From: jvoisin
Date: Mon, 8 Apr 2019 23:13:47 +0200
Subject: [PATCH] Add a noopener and noreferrer to external urls
- noreferrer is used to prevent the browser from sending the referrer
to the visited site
- noopener fixes a fun class of bug: https://mathiasbynens.github.io/rel-noopener/
---
.../src/main/webapp/WEB-INF/jsp/albumMain.jsp | 10 +++++-----
.../src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp | 2 +-
.../src/main/webapp/WEB-INF/jsp/createShare.jsp | 8 ++++----
airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp | 2 +-
.../src/main/webapp/WEB-INF/jsp/externalPlayer.jsp | 2 +-
airsonic-main/src/main/webapp/WEB-INF/jsp/help.jsp | 4 ++--
airsonic-main/src/main/webapp/WEB-INF/jsp/more.jsp | 2 +-
.../main/webapp/WEB-INF/jsp/transcodingSettings.jsp | 2 +-
8 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/albumMain.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/albumMain.jsp
index c343b655..68dc64d9 100644
--- a/airsonic-main/src/main/webapp/WEB-INF/jsp/albumMain.jsp
+++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/albumMain.jsp
@@ -259,13 +259,13 @@
|
- |
- |
- |
+ |
+ |
+ |
- |
+ |
-
Apps for Android, iPhone, Windows Phone ++.
+
Apps for Android, iPhone, Windows Phone ++.
Video streaming.
Chromecast and Sonos support.
DLNA/UPnP support
diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
index d41bfef0..31f6a86c 100644
--- a/airsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
+++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
@@ -123,7 +123,7 @@
-
">
+
">
diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
index d24b75ec..35271ac2 100644
--- a/airsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
+++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
@@ -13,13 +13,13 @@
- " alt="">
-
+ " alt="">
+
- " alt="">
-
+ " alt="">
+
diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp
index 1907539e..11c4ae28 100644
--- a/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp
+++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp
@@ -18,7 +18,7 @@
Airsonic encountered an internal error. You can report this error in the
- Airsonic Forum.
+ Airsonic Forum.
Please include the information below.
diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
index a354f560..0c9638ca 100644
--- a/airsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
+++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
@@ -45,7 +45,7 @@
-
+