From fa6527cdf3cde99cd68708e161c27d13458e42d3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 3 Dec 2022 08:35:58 +0530 Subject: [PATCH] add note about how MIME types are detected --- docs/open_actions.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/open_actions.rst b/docs/open_actions.rst index b15b6b9f9..0dc659941 100644 --- a/docs/open_actions.rst +++ b/docs/open_actions.rst @@ -103,7 +103,8 @@ lines. The various available criteria are: Useful if your system MIME database does not have definitions you need. This file is in the standard format of one definition per line, like: ``text/plain rst md``. Note that the MIME type for directories is - ``inode/directory``. + ``inode/directory``. MIME types are detected based on file extension, not + file contents. ``ext`` A comma separated list of file extensions, for example: ``jpeg, tar.gz``