Skip to content

Enhance UploadedFile to replace blacklisted extensions with configura… - #361

Merged
armanist merged 3 commits into
quantum-php:masterfrom
grigoryanmartin20:feature/#340-Enhance-UploadedFile-to-replace-blacklisted-extensions-with-configurable-whitelisted-formats
Dec 19, 2025
Merged

armanist merged 3 commits into
quantum-php:masterfrom
grigoryanmartin20:feature/#340-Enhance-UploadedFile-to-replace-blacklisted-extensions-with-configurable-whitelisted-formats

Conversation

@grigoryanmartin20

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/Libraries/Storage/UploadedFile.php Outdated
Comment thread src/Libraries/Storage/UploadedFile.php
Comment thread tests/_root/shared/config/uploads.php
- Add merge support to setAllowedMimeTypes() (default: merge=true)
- Refactor shared logic into protected setAllowedMimeTypesMap()
- Add config validation with proper exception handling
@armanist
armanist merged commit 7c366b5 into quantum-php:master Dec 19, 2025
3 checks passed
@grigoryanmartin20
grigoryanmartin20 deleted the feature/#340-Enhance-UploadedFile-to-replace-blacklisted-extensions-with-configurable-whitelisted-formats branch December 19, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance UploadedFile to replace blacklisted extensions with configurable whitelisted formats

2 participants