[Bug 1896682] [NEW] kmimetypefinder5 *.html reports wrong type

Alex A. D. 1896682 at bugs.launchpad.net
Tue Sep 22 21:25:01 UTC 2020

Public bug reported:

# 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>

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

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

kde-cli-tools/focal,now 4: amd64 [installed,automatic]
kde-cli-tools-data/focal,focal,now 4: 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:

** Affects: kde-cli-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: html mime py xdg-mime xdg-open

You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-cli-tools in Ubuntu.

  kmimetypefinder5 *.html reports wrong type

To manage notifications about this bug go to:

More information about the kubuntu-bugs mailing list