Skip to content

Commit

Permalink
Add noopener noreferrer for target blank URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea authored and ilgrosso committed Jan 21, 2019
1 parent 43e2cf2 commit 629704c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ public static Component getJEXLPopover(
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>");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

<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>

Expand Down

0 comments on commit 629704c

Please sign in to comment.