Add whitelist back in and validate extension of file is permtted for the mime-type...
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 3 May 2019 04:53:48 +0000 (14:53 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 15 May 2019 20:25:18 +0000 (06:25 +1000)
commit6cb3fe2e3cc8b91c88d69ab3443ffc4270804aad
treed3342a2a4da6466f903355afb9d878ccd8a3679b
parent430858da978f7a5ee4e33e8f4e91a9fe85676893
Add whitelist back in and validate extension of file is permtted for the mime-type supplied and use mime-type from db if supplied with an fid and eid

Switch to different libary that is php5.6 compatable
CRM/Core/Page/File.php
CRM/Utils/File.php
composer.json
composer.lock
settings/Core.setting.php
tests/phpunit/CRM/Utils/FileTest.php