From b73a6d5020ecb44e517b19c8acf3f3dd40e6f6ae Mon Sep 17 00:00:00 2001 From: joaohortsenado Date: Wed, 3 Sep 2025 17:08:26 -0300 Subject: [PATCH] restringe tipos de arquivos para upload --- sapl/utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sapl/utils.py b/sapl/utils.py index 19c9e4d4c..9d6399c5e 100644 --- a/sapl/utils.py +++ b/sapl/utils.py @@ -594,7 +594,6 @@ TIPOS_TEXTO_PERMITIDOS = ( 'application/x-vnd.oasis.opendocument.text', 'application/pdf', 'application/x-pdf', - 'application/zip', 'application/acrobat', 'applications/vnd.pdf', 'text/pdf', @@ -608,9 +607,7 @@ TIPOS_TEXTO_PERMITIDOS = ( 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/xml', - 'application/octet-stream', 'text/xml', - 'text/html', ) TIPOS_IMG_PERMITIDOS = (