![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
[commit: http://hg.dwscoalition.org/dw-free/rev/84c26bd010e3]
http://bugs.dwscoalition.org/show_bug.cgi?id=3780
Refactor to parse out the URI into components using a module, rather than
using a regex on the whole URL, to make the conditionals more readable, and
to pave the way for further whitelisting.
Then add www.youtube-nocookie.com to the valid domains to embed from,
following the same rules as youtube.com
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3780
Refactor to parse out the URI into components using a module, rather than
using a regex on the whole URL, to make the conditionals more readable, and
to pave the way for further whitelisting.
Then add www.youtube-nocookie.com to the valid domains to embed from,
following the same rules as youtube.com
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/Hooks/EmbedWhitelist.pm
- t/embed-whitelist.t