forked from GNUsocial/gnu-social
[CONFIG] Add setting for attachment sanitization
This commit is contained in:
parent
f25759d60b
commit
4089fc692d
@ -60,8 +60,6 @@ parameters:
|
|||||||
ssl:
|
ssl:
|
||||||
|
|
||||||
attachments:
|
attachments:
|
||||||
max_width: 4096
|
|
||||||
max_height: 4096
|
|
||||||
server:
|
server:
|
||||||
ssl:
|
ssl:
|
||||||
dir: "%kernel.project_dir%/file/attachments/"
|
dir: "%kernel.project_dir%/file/attachments/"
|
||||||
@ -104,9 +102,9 @@ parameters:
|
|||||||
user_quota: 209715200
|
user_quota: 209715200
|
||||||
monthly_quota: 20971520
|
monthly_quota: 20971520
|
||||||
uploads: true
|
uploads: true
|
||||||
show_html: true
|
|
||||||
show_thumbs: true
|
show_thumbs: true
|
||||||
process_links: true
|
process_links: true
|
||||||
|
sanitize: true
|
||||||
ext_blacklist: []
|
ext_blacklist: []
|
||||||
memory_limit: 1024M
|
memory_limit: 1024M
|
||||||
|
|
||||||
@ -118,6 +116,7 @@ parameters:
|
|||||||
max_size_px: 1000
|
max_size_px: 1000
|
||||||
width: 450
|
width: 450
|
||||||
height: 600
|
height: 600
|
||||||
|
mimetype: 'image/webp'
|
||||||
extension: '.webp'
|
extension: '.webp'
|
||||||
|
|
||||||
plugin_embed:
|
plugin_embed:
|
||||||
|
Loading…
Reference in New Issue
Block a user