CCALI / a2jauthor

CALI A2JAuthor document automation authoring and viewing platform
https://www.a2jauthor.org
Other
4 stars 1 forks source link

Add restricted extensions for uploads and zips. #294

Closed tobiasnteireho closed 2 years ago

tobiasnteireho commented 2 years ago

Requires allowable exts to b in config_env.ini which is a breaking change. Going to version 9.0.0

tobiasnteireho commented 2 years ago

For this to work, now config_env.ini needs this to be added

[ALLOWED_EXTENSIONS]
EXTS_ALLOWED[]="xml"
EXTS_ALLOWED[]="jpg"
EXTS_ALLOWED[]="png"
EXTS_ALLOWED[]="gif"
EXTS_ALLOWED[]="mp4"
EXTS_ALLOWED[]="mp3"
EXTS_ALLOWED[]="pdf"
EXTS_ALLOWED[]="json"
EXTS_ALLOWED[]="zip"
EXTS_ALLOWED[]="backup"
EXTS_ALLOWED[]="svg"