Skip to content

Commit 4c9f5b6

Browse files
alierakkareila
authored andcommitted
fix gettyimages embed URL pattern
1 parent a08637f commit 4c9f5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgi-bin/DW/Hooks/EmbedWhitelist.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ my %host_path_match = (
7878
"www.flickr.com" => [ qr!/player/$!, 1 ],
7979
"www.funnyordie.com" => [ qr!/embed/!, 1 ],
8080

81-
"embed.gettyimages.com" => [ qr!/iframe/!, 1 ],
81+
"embed.gettyimages.com" => [ qr!^/embed/!, 1 ],
8282
"getyarn.io" => [ qr!^/yarn-clip/embed/[0-9a-fA-F\-]{36}!, 1 ],
8383
"www.goodreads.com" => [ qr!^/widgets/!, 1 ],
8484
"giphy.com" => [ qr!^/embed/\w+!, 1 ],

0 commit comments

Comments
 (0)