2016-02-04 19:31 GMT+00:00 Brian Wolff bawolff@gmail.com:
I think its more likely gwtoolset looks at the mime type set in the Content-type header set by the webserver.
(Disclaimer: I checked out the GWToolset for the first time today).
According to the documentation of *getFileExtension *in *includes/Handlers/UploadHandler.php* (assuming I’m looking a the right place); it is doing both:
attempts to get the file extension of a media file url using the
$options provided. it will first look for a valid file extension in the
url; if none is found it will fallback to an appropriate file extention
based on the content-type