mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Add rel="noreferrer" to resolve window.opener issue
https://mathiasbynens.github.io/rel-noopener
This commit is contained in:
@@ -92,6 +92,7 @@ public class FeedUtils {
|
||||
whitelist.addProtocols("q", "cite", "http", "https");
|
||||
|
||||
whitelist.addEnforcedAttribute("a", "target", "_blank");
|
||||
whitelist.addEnforcedAttribute("a", "rel", "noreferrer");
|
||||
return whitelist;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user