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>
Tue, 14 May 2019 21:44:41 +0000 (07:44 +1000)
commitaf92cb606c9e3cc9e885975be82057caec006e7d
treee61a2739acb443e04e15377e5e075fca4d9c67fe
parent0c522e73a8f7f844480f651aac82025206c3081f
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