mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Fix potentially unsafe external link
This commit is contained in:
@@ -661,6 +661,7 @@ var HtmlUtil = function() {
|
|||||||
a.append(val);
|
a.append(val);
|
||||||
a.attr("href", href);
|
a.attr("href", href);
|
||||||
a.attr("target", "_blank");
|
a.attr("target", "_blank");
|
||||||
|
a.attr("rel", "noopener noreferrer");
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user