kmimetypefinder5 *.html reports wrong type

Bug #1896682 reported by Alex A. D.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kde-cli-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

# Test case:
Run the following to reproude the issue in bash/shell/zsh:

> $ tee "index.html" <<eol
<!DOCTYPE html>
<html><body>use strict</body></html>
eol

> $ xdg-mime query filetype index.html # => `application/x-perl`- WRONG type
> $ kmimetypefinder5 index.html # => `application/x-perl`

# Environment:
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"

kde-cli-tools/focal,now 4:5.18.4.1-0ubuntu1 amd64 [installed,automatic]
kde-cli-tools-data/focal,focal,now 4:5.18.4.1-0ubuntu1 all [installed,automatic]

# Previous reports:
I previously reported this bug in wrong place. I figured that it should be moved after running
> $ XDG_UTILS_DEBUG_LEVEL=1 xdg-mime ...
as it was saggested by another user.
Link: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1890716

Related bug concerning *.py files: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1890716

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.