]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Only accept filenames for existing files in getUploadedFileType
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 8 Mar 2014 00:42:24 +0000 (01:42 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 8 Mar 2014 00:42:24 +0000 (01:42 +0100)
commit6f6065e5e997ad3062b3f1c659004f692db597f4
tree9fa6cb5d5d58694a087d34f4b18e205c04fd877d
parent5c343694608a2c033c3ca7b04b6e5fb0490b857f
Only accept filenames for existing files in getUploadedFileType

Getting metadata from filehandles just meant duplicating work
lib/mediafile.php
tests/MediaFileTest.php