© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
78 replies
Cododel

FileUpload BUG

Hello, @everyone!

The.p12 automatically changes to.bin
The.crt .pen to .txt

Same with csv, js, css, and any text files...
All question is abandoned, im tired search the causes....

Why i cant preserve file extension, include for tmp file?!
Works only for getUploadedFileNameForStorageUsing + acceptedFileTypes((['text/javascript', 'text/plain'])
But first - filters all non js files, second filters all non text files
On uploading, in file manager - i can choose any text file, but it will be rejected by text/javascript
If ill remove text/plain - all files will be rejected by "File must be text/javascript type", but no files, event with .js extension - not has text/javascript mimetype. It all text/plain.

"text/javascript" Should be set to "accept" html attribute, on backend should be validated as text/plain and filename should be endswith .js exception!

Why no solves for this...? :squint:
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Fileupload Bug view
FilamentFFilament / ❓┊help
2y ago
Fileupload bug, images stuck on livewire-tmp
FilamentFFilament / ❓┊help
3mo ago