]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'oembed_branch' into 'nightly'
authormmn <mmn@hethane.se>
Fri, 15 Jan 2016 13:11:35 +0000 (13:11 +0000)
committermmn <mmn@hethane.se>
Fri, 15 Jan 2016 13:11:35 +0000 (13:11 +0000)
purify oembed html and don't allow cdata

hopefully we never need stuff in cdata

reason for this is that this link serves javascript in its oembed data: https://www.maketecheasier.com/switch-windows-10-to-linux/

see:
https://www.maketecheasier.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.maketecheasier.com%2Fswitch-windows-10-to-linux%2F

i don't feel we want that in our database.

See merge request !79

1  2 
lib/util.php

diff --cc lib/util.php
Simple merge