T383037 Add glb and glft to MediaWiki's mime detection library (original) (raw)
Add glb and glft to MediaWiki's mime detection library
Closed, ResolvedPublicFeature
We want to be able to recognise this file type, based on its content. Having these correctly is important to ensure that we have the correct mime type in the tables, and to ensure we do not rely on the file extension when detecting the filetype.
A GLB file has a glb Header. The consists of three parts:
uint32 magic number equals 0x46546C67. ASCII string glTF
uint32 version
uint32 length, the length of the entire file including header in bytes
The mime type is model/gltf-binary. The mime type for the non binary json format is: model/gltf+json
Related Changes in Gerrit:
Event Timeline
No, I am not familiar with the MediaWiki security concept.
What is the MediaWiki security concept?
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits