From 35ecc534261662e1729dac46e91858915fafee48 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 22 Jan 2026 16:38:36 +0100 Subject: [PATCH] Remove permissions for avatar file extensions The permission exists for historical reasons, but serves no real purpose. There are no meaningful file extensions that the administrator could add. Incorrect input also causes the upload process to stop working. ref https://www.woltlab.com/community/thread/315897-fehler-bei-avatar-bearbeiten/ --- com.woltlab.wcf/userGroupOption.xml | 12 +----------- .../file/processor/UserAvatarFileProcessor.class.php | 8 +++++++- wcfsetup/install/lang/de.xml | 3 +-- wcfsetup/install/lang/en.xml | 3 +-- 4 files changed, 10 insertions(+), 16 deletions(-) diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index 02af1d9b7b..c80de9c48c 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -802,20 +802,9 @@ bmp user.profile.avatar boolean 0 - user.profile.avatar.allowedFileExtensions 1 1 -