mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1246] [MERGED] Only allow image/png mimetype for Avatar
#1272
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1246
Author: @rmartinoscar
Created: 4/13/2025
Status: ✅ Merged
Merged: 4/13/2025
Merged by: @rmartinoscar
Base:
main← Head:fix/avatarMimetype📝 Commits (1)
ae6da60Only allowimage/pngmimetype📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
app/Filament/Pages/Auth/EditProfile.php(+1 -0)📄 Description
702a6bb750/app/Extensions/Avatar/Providers/LocalAvatarProvider.php (L18-L23)Ideally we'd support all images format but this is good enough for now
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.