From fcbd558bec3b3b6f30163ed776e5ebb8b026ff8d Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 16 Feb 2026 10:43:19 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(backend)=20allow=20text/x-tex=20mi?= =?UTF-8?q?metype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The text/x-tex mimetype is used by .tex files containing LaTeX document. The application/x-tex is already allowed but we also have to allow this mimetype otherwise some document with the .tex extension can't be uploaded. --- src/backend/drive/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/drive/settings.py b/src/backend/drive/settings.py index 2384852a..fd64fb01 100755 --- a/src/backend/drive/settings.py +++ b/src/backend/drive/settings.py @@ -765,6 +765,7 @@ class Base(Configuration): "text/vtt", "text/x-c", "text/x-python", + "text/x-tex", "text/x-vcard", "video/3gpp", "video/3gpp2",