@Matifou, the issue you describe is a different one and probably not a bug. The type detection on remote location rely on the filename usually because to guess from the content it would have to start downloading the files which could be slow or expensive.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1869881 Title: html file detected as unknown application/octet-stream Status in nautilus package in Ubuntu: Fix Released Bug description: On ubuntu 20.04, when I mount an sftp or ftp share with nautilus (1:3.36.1-1ubuntu1), html files are not detected. The properties dialog shows "Unknown (application/octet-stream)". Php, css and js files are right detected. It is a known bug? No problem with pcmanfm. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: nautilus 1:3.36.1-1ubuntu1 ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24 Uname: Linux 5.4.0-18-generic x86_64 NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_pedevice talpa_vcdevice talpa_core talpa_linux talpa_syscallhook ApportVersion: 2.20.11-0ubuntu21 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Mar 31 14:59:58 2020 InstallationDate: Installed on 2019-12-18 (103 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) SourcePackage: nautilus UpgradeStatus: Upgraded to focal on 2020-03-20 (10 days ago) usr_lib_nautilus: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1869881/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp