]> git.mxchange.org Git - quix0rs-gnu-social.git/commit - lib/default.php
Filter out img, video and audio tags in notice HTML
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 15 Mar 2015 13:35:29 +0000 (14:35 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 15 Mar 2015 13:35:29 +0000 (14:35 +0100)
commit8439efe77d7574756bd7f16a625cd33025dcc659
tree4637db2abf3b6a9c7087bc093bf723e852b0b433
parenta1098fa1532f0abe04d006f54326158c6d6590fb
Filter out img, video and audio tags in notice HTML

Because we don't want to auto-fetch items from a remote server. Such
items should be delivered as attachment metadata and portrayed in the
way the local instance chooses.

Choices for portrayal are either simply nullifying this and embedding
the data, linking the file remotely requiring a manual click or maybe
use remote oEmbed data etc. to download files locally so no remote
requests have to be made.
lib/default.php
lib/util.php