mirror of
https://github.com/fleetdm/fleet
synced 2026-05-21 16:08:47 +00:00
For #14056, per the [mdn web docs](https://developer.mozilla.org/en-US/docs/Web/API/File/type) > Note: Based on the current implementation, browsers won't actually > read the bytestream of a file to determine its media type. It is assumed > based on the file extension; a PNG image file renamed to .txt would give > "text/plain" and not "image/png". Moreover, file.type is generally > reliable only for common file types like images, HTML documents, audio > and video. Uncommon file extensions would return an empty string. Client > configuration (for instance, the Windows Registry) may result in > unexpected values even for common types. Developers are advised not to > rely on this property as a sole validation scheme.
1 line
90 B
Text
1 line
90 B
Text
* Fixed a bug preventing Windows and Linux users to upload .mobileconfig files in the UI.
|