forked from leftypol/leftypol
Option to automatically strip EXIF metadata from JPEGs
This commit is contained in:
parent
e8b693b044
commit
308f557fd5
3 changed files with 19 additions and 7 deletions
|
@ -418,6 +418,9 @@
|
|||
// - 'convert' The command line version of ImageMagick (`convert`). Fixes most of the bugs in PHP Imagick.
|
||||
$config['thumb_method'] = 'gd';
|
||||
|
||||
// Strip EXIF metadata from JPEG files
|
||||
$config['strip_exif'] = false;
|
||||
|
||||
// Regular expression to check for IE MIME type detection XSS exploit. To disable, comment the line out
|
||||
// https://github.com/savetheinternet/Tinyboard/issues/20
|
||||
$config['ie_mime_type_detection'] = '/<(?:body|head|html|img|plaintext|pre|script|table|title|a href|channel|scriptlet)/i';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue