You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Given a mimetype - return a valid file extension for it.
*
* @param $mimetype string
* @return string|bool False if the mimetype was not known, a string indicating a valid file extension otherwise. It may not
* be the only valid file extension - just the first one found.
*/
public static function get_file_extension($mimetype) {
Just above this is an extension to mimetype table that's in alphabetical order and applescript is the first item of type text/plain in the list. I think it was written more for forward lookups (extension to mimetype) and somebody needed a reverse lookup and this is what they came up with. One could probably add a "preferred" attribute especially for going backwards like this, but it would be much less efficient.
This might be an issue in core and not excimer related
The text was updated successfully, but these errors were encountered: