• Aaron Wells's avatar
    Pass original filename to file_mime_type() · bfaf9fa0
    Aaron Wells authored
    Bug 1249858: When being called for file uploads, file_mime_type()
    is getting the PHP temp upload file's filename, and so the attempt
    to check the file extension is always unsuccessful because those
    temp file names are gibberish
    
    Change-Id: I631ca8c80316919b6aefc9712b68017d752ba942
    bfaf9fa0
Name
Last commit
Last update
htdocs Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile Loading commit data...
README Loading commit data...
phpunit.xml Loading commit data...