diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-09-03 23:06:02 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-09-03 23:09:17 +0200 |
commit | 7de15bc54c14ce4fa74480f3894f9aec23dbcfba (patch) | |
tree | 3abd6b22ed6239bb43e706ba24325b25ef83fb99 /phpBB/phpbb/symfony_request.php | |
parent | 6777d462ffb5a45428fc1597e18663224c802af6 (diff) | |
download | forums-7de15bc54c14ce4fa74480f3894f9aec23dbcfba.tar forums-7de15bc54c14ce4fa74480f3894f9aec23dbcfba.tar.gz forums-7de15bc54c14ce4fa74480f3894f9aec23dbcfba.tar.bz2 forums-7de15bc54c14ce4fa74480f3894f9aec23dbcfba.tar.xz forums-7de15bc54c14ce4fa74480f3894f9aec23dbcfba.zip |
[ticket/13031] Only use mimetype guesser guess if it helps us
If we already have a mimetype and the guesser's guess is the default fallback,
we should keep the already existing mimetype the browser supplied. Otherwise,
platforms that might not support mimetype guessers will cause us to always
have the mimetype set to application/octet-stream on images. This will prevent
users from uploading images.
PHPBB3-13031
Diffstat (limited to 'phpBB/phpbb/symfony_request.php')
0 files changed, 0 insertions, 0 deletions