Skip to content
  • Aaron Wells's avatar
    Pass original filename to file_mime_type() · e8e28027
    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
    e8e28027