security/core#121 Add in hard coded list of file extensions that should be prohibited...
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 2 Feb 2023 02:14:04 +0000 (13:14 +1100)
committerTim Otten <totten@civicrm.org>
Wed, 15 Feb 2023 06:17:23 +0000 (22:17 -0800)
commit420614842b56211fcbcfa01f0b25055c16946f7b
tree34165ff8edaa435e9eb8f6bf23b4f49f4595a597
parent67dcf7907bf1f55e9441766c595d79c0ff0a43fb
security/core#121 Add in hard coded list of file extensions that should be prohibited form being treated as safe no matter what

Expand the list of extensions as per Tim and allow for users to define their own list via a constant
CRM/Utils/File.php
tests/phpunit/CRM/Utils/FileTest.php