Skip to content

More fine tuning of the mime of the opened file

Albert Astals Cid requested to merge work/aacid/make_ruben_happy into release/20.12

In fba90677 we introduced a "if we're told this is a text file let's check the mime of the content only since text files never fail to open".

This extends it to anything that inherits from text now, so if you rename a PDF file to bla.php it still tries to open as a pdf first and if that files as a php file

Merge request reports