Closed
Description
- Gitea version (or commit ref): 1.8.1
- Git version: 2.7.4
- Operating system: Linux
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
I've the following config for the attachments
[attachment]
ENABLED = true
PATH = /var/lib/gitea/data/attachments/
MAX_SIZE = 4
MAX_FILES = 5
ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
However, when uploading a zip file it says "File type is not allowed".