]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Don't trust text/xml mime types; generic content detection gives useless stuff like...
authorBrion Vibber <brion@pobox.com>
Wed, 22 Dec 2010 21:56:19 +0000 (13:56 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 22 Dec 2010 21:56:19 +0000 (13:56 -0800)
commit464e0f8115e3b5b01b6110ddc7a73274164c8584
treeb2a4eaf4fe9e5e0bf547871a522a81da78c76343
parent35d9a065fb0f1ada1a96034d2e5a4076420d4e8a
Don't trust text/xml mime types; generic content detection gives useless stuff like that on SVG images! Todo: replace the extension check in this case with better content-based checks.
lib/mediafile.php