-
- Downloads
Add whitelist back in and validate extension of file is permtted for the...
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
Showing
- CRM/Core/Page/File.php 10 additions, 10 deletionsCRM/Core/Page/File.php
- CRM/Utils/File.php 21 additions, 5 deletionsCRM/Utils/File.php
- composer.json 2 additions, 1 deletioncomposer.json
- composer.lock 45 additions, 1 deletioncomposer.lock
- settings/Core.setting.php 14 additions, 0 deletionssettings/Core.setting.php
- tests/phpunit/CRM/Utils/FileTest.php 35 additions, 0 deletionstests/phpunit/CRM/Utils/FileTest.php
... | ... | @@ -61,7 +61,8 @@ |
"psr/simple-cache": "~1.0.1", | ||
"cweagans/composer-patches": "~1.0", | ||
"pear/log": "1.13.1", | ||
"ezyang/htmlpurifier": "4.10" | ||
"ezyang/htmlpurifier": "4.10", | ||
"katzien/php-mime-type": "2.1.0" | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
... | ... |
Please register or sign in to comment