• Seamus Lee's avatar
    Strength mime checking by comparing mime-type to the file path mime-type if we... · 0c522e73
    Seamus Lee authored
    Strength mime checking by comparing mime-type to the file path mime-type if we have entity_id and file id otherwise only permit image mime_types to be accepted if going via the filename route
    
    Ensure mimetype is set in the case where we are passing it through and its valid
    
    Remove Whitelisting of mime-types as not useful and only check mime-types if we have had one passed in
    0c522e73
Name
Last commit
Last update
.github Loading commit data...
CRM Loading commit data...
Civi Loading commit data...
ang Loading commit data...
api Loading commit data...
bin Loading commit data...
css Loading commit data...
distmaker Loading commit data...
extern Loading commit data...
i Loading commit data...
install Loading commit data...
js Loading commit data...
release-notes Loading commit data...
settings Loading commit data...
sql Loading commit data...
templates Loading commit data...
tests Loading commit data...
tools Loading commit data...
xml Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.jshintrc Loading commit data...
.toxic.json Loading commit data...
CONTRIBUTORS.txt Loading commit data...
Civi.php Loading commit data...
README.md Loading commit data...
agpl-3.0.exception.txt Loading commit data...
agpl-3.0.txt Loading commit data...
bower.json Loading commit data...
civicrm-version.php Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
contributor-key.yml Loading commit data...
extension-compatibility.json Loading commit data...
gpl.txt Loading commit data...
header-afl.txt Loading commit data...
header-agpl.txt Loading commit data...
header.sql Loading commit data...
header.tpl Loading commit data...
header.txt Loading commit data...
karma.conf.js Loading commit data...
mkdocs.yml Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
phpunit.xml.dist Loading commit data...
release-notes.md Loading commit data...