You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/01/21 12:40:07 UTC

[syncope] branch master updated: Add noopener noreferrer for target blank URLs

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 629704c  Add noopener noreferrer for target blank URLs
629704c is described below

commit 629704c44707175d3f2e42fa1a7e5cc85be2b4c9
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Thu Jan 10 11:21:38 2019 +0000

    Add noopener noreferrer for target blank URLs
---
 .../main/java/org/apache/syncope/client/console/commons/Constants.java | 3 ++-
 .../resources/org/apache/syncope/client/console/pages/BasePage.html    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/Constants.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/Constants.java
index 2e60aa9..d0e2966 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/Constants.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/Constants.java
@@ -212,7 +212,8 @@ public final class Constants {
             body.append("<li>").append(jexlExample).append("</li>");
         }
         body.append("</ul>").
-                append("<a href='https://commons.apache.org/proper/commons-jexl/reference/' target='_blank'>").
+                append("<a href='https://commons.apache.org/proper/commons-jexl/reference/' ").
+                append("target='_blank' rel='noopener noreferrer'>").
                 append(caller.getString("jexl_syntax_url")).
                 append("</a>");
 
diff --git a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
index 12c1551..310d975 100644
--- a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
+++ b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
@@ -146,7 +146,7 @@ under the License.
 
       <footer class="main-footer">
         <strong>Copyright &copy; 2010&#45;<span id="spanYear"></span> 
-          <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>.</strong>
+          <a href="http://www.apache.org/" target="_blank" rel="noopener noreferrer">The Apache Software Foundation</a>.</strong>
         All rights reserved.
       </footer>