settings image comment

This commit is contained in:
nitely 2017-08-18 18:15:28 -03:00
parent 6df31f3cf6
commit c640002572

View File

@ -28,6 +28,9 @@ ST_USER_LAST_SEEN_THRESHOLD_MINUTES = 1
ST_PRIVATE_FORUM = False
# PNG is not allowed by default due to:
# An HTML file can be uploaded as an image
# if that file contains a valid PNG header
# followed by malicious HTML. See:
# https://docs.djangoproject.com/en/1.11/topics/security/#user-uploaded-content
ST_ALLOWED_UPLOAD_IMAGE_FORMAT = ('jpeg', 'gif')
ST_ALLOWED_URL_PROTOCOLS = {