Fine tune mime type detection used for opening files
If the argument mimetype and filepath mimetype disagree, first try to use the filepath mimetype and if that fails use the argument one. On top of that if text/plain is the first, first try with content mimetype since the text backend never fails to open a file I can now open https://bugs.freedesktop.org/attachment.cgi?id=99508 (which is served as text/plain) and PS files with .txt extension (bug 325044) REVIEW: 119737 BUGS: 325044 FIXED-IN: 4.14.0
parent
8aa921d2
-
mentioned in commit 495bbdfb
-
mentioned in merge request !316 (merged)
-
mentioned in commit d2ae2c28
Please register or sign in to comment