We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All
I'm trying to upload a valid .glb file, and there are some problems:
In the Mime types, i can find these keys in the map and the reverse map so it should work:
'glb' => ['model/gltf-binary'], 'gltf' => ['model/gltf+json'],
Try to upload a valid GLB and use ->extension() method.
For example: Duck.glb
BrainStem.glb
You can check the GLB files that i mention are valid here: GLTF VALIDATOR
Doing something like this:
$fileToUpload = $request->file('file'); dd($fileToUpload->extension(), $fileToUpload->getClientOriginalExtension());
Displays "bin", "glb"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Symfony version(s) affected
All
Description
I'm trying to upload a valid .glb file, and there are some problems:
In the Mime types, i can find these keys in the map and the reverse map so it should work:
How to reproduce
Try to upload a valid GLB and use ->extension() method.
For example:
Duck.glb
BrainStem.glb
Additional Context
You can check the GLB files that i mention are valid here: GLTF VALIDATOR
Doing something like this:
Displays "bin", "glb"
The text was updated successfully, but these errors were encountered: