Validate the file extensions using lower case
authorAlexander Ebert <ebert@woltlab.com>
Mon, 30 Sep 2024 14:30:04 +0000 (16:30 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 30 Sep 2024 14:30:04 +0000 (16:30 +0200)
commit05bf4657f3bd6dde3a05ed4e79ba2e56035c31ce
treed699a77fb662c2c6a70b2c3e2e7561548a629bc2
parentc42e7548073249750584bbb3ec4e4efdc62be1b2
Validate the file extensions using lower case

Previously a check could fail if, for example, “.png” is allowed but the uploaded file uses the uppercase “.PNG“ extension.
ts/WoltLabSuite/Core/Component/File/Upload.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Component/File/Upload.js