From b1090ce83405cc510058c77ae2e8d64c8db09247 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 5 May 2016 14:00:17 -0400 Subject: [PATCH] Add noreferrer to ng-safenewtab Fixes #1411 --- static/js/ng-safenewtab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/ng-safenewtab.js b/static/js/ng-safenewtab.js index a79c8febd..bdb3b2985 100644 --- a/static/js/ng-safenewtab.js +++ b/static/js/ng-safenewtab.js @@ -5,6 +5,6 @@ angular.module('quay').directive('ngSafenewtab', function () { return function (scope, element, attr) { element.attr('target', '_blank'); - element.attr('rel', 'noopener'); + element.attr('rel', 'noopener noreferrer'); }; }); \ No newline at end of file