![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Branch: refs/heads/release-1.16
Home: https://github.com/dreamwidth/dw-free
Commit: 81b4e71d19e637e3402dfdf5e6fffeada587de23
https://github.com/dreamwidth/dw-free/commit/81b4e71d19e637e3402dfdf5e6fffeada587de23
Author: shadowspar <shadowspar@dreamwidth.org>
Date: 2013-06-30 (Sun, 30 Jun 2013)
Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t
Log Message:
-----------
(bug 5149) allow network-rel URLs in YT embeds
Youtube has started using network-relative URLs in its embed codes, eg
src="//www.youtube.com/...". This is a legit but uncommon syntax --
it means "fetch this location, using the same protocol as you used for
this page" -- eg http for http, https for https.
This patch updates the allow_iframe_embeds hook to permit URLs of this
form. Unfortunately, the URI module can't cope with them, so we have
to lie to it about the URL scheme to get the rest of its parsing to
work. We don't modify the URL that's actually used to do the
embedding, though -- just what's used for checks inside the hook.
Commit: 25be15f3ae3bf3a5dbbd5db4807742afb23a10e2
https://github.com/dreamwidth/dw-free/commit/25be15f3ae3bf3a5dbbd5db4807742afb23a10e2
Author: Afuna <afunamatata+github@gmail.com>
Date: 2013-07-01 (Mon, 01 Jul 2013)
Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t
Log Message:
-----------
Merge pull request #470 from rickscott/bug5149-youtube-embed-rel-urls-into-1.16
(bug 5149) allow network-rel URLs in YT embeds
Compare: https://github.com/dreamwidth/dw-free/compare/09120fc0e3c4...25be15f3ae3b
Home: https://github.com/dreamwidth/dw-free
Commit: 81b4e71d19e637e3402dfdf5e6fffeada587de23
https://github.com/dreamwidth/dw-free/commit/81b4e71d19e637e3402dfdf5e6fffeada587de23
Author: shadowspar <shadowspar@dreamwidth.org>
Date: 2013-06-30 (Sun, 30 Jun 2013)
Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t
Log Message:
-----------
(bug 5149) allow network-rel URLs in YT embeds
Youtube has started using network-relative URLs in its embed codes, eg
src="//www.youtube.com/...". This is a legit but uncommon syntax --
it means "fetch this location, using the same protocol as you used for
this page" -- eg http for http, https for https.
This patch updates the allow_iframe_embeds hook to permit URLs of this
form. Unfortunately, the URI module can't cope with them, so we have
to lie to it about the URL scheme to get the rest of its parsing to
work. We don't modify the URL that's actually used to do the
embedding, though -- just what's used for checks inside the hook.
Commit: 25be15f3ae3bf3a5dbbd5db4807742afb23a10e2
https://github.com/dreamwidth/dw-free/commit/25be15f3ae3bf3a5dbbd5db4807742afb23a10e2
Author: Afuna <afunamatata+github@gmail.com>
Date: 2013-07-01 (Mon, 01 Jul 2013)
Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t
Log Message:
-----------
Merge pull request #470 from rickscott/bug5149-youtube-embed-rel-urls-into-1.16
(bug 5149) allow network-rel URLs in YT embeds
Compare: https://github.com/dreamwidth/dw-free/compare/09120fc0e3c4...25be15f3ae3b