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

** 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.
https://bugs.launchpad.net/bugs/1896682

Title:
  kmimetypefinder5 *.html reports wrong type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-cli-tools/+bug/1896682/+subscriptions



More information about the kubuntu-bugs mailing list