Skip to content

Commit

Permalink
Allow embeds from giphy.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
smelamud committed Oct 25, 2022
1 parent 60e2f0d commit 281cb26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class HtmlSanitizer {
private static final Set<String> IFRAME_HOSTNAMES = Set.of(
"c.simmer.io", "codepen.io", "docs.google.com", "itch.io", "odysee.com", "open.spotify.com", "peer.tube",
"player.vimeo.com", "rumble.com", "www.facebook.com", "www.youtube-nocookie.com", "www.youtube.com",
"gifer.com"
"gifer.com", "giphy.com"
);
private static final PolicyFactory SAFE_HTML = BASIC_HTML
.and(new HtmlPolicyBuilder()
Expand Down

0 comments on commit 281cb26

Please sign in to comment.