Summary: | kmimetypefinder5 misidentifies mimetype of python files containing certain strings | ||
---|---|---|---|
Product: | [Plasma] kde-cli-tools | Reporter: | Nathaniel Beaver <nathanielmbeaver> |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mitya57, nate |
Priority: | NOR | ||
Version: | 5.12.8 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=417248 | ||
Latest Commit: | Version Fixed In: | 5.81.80 | |
Sentry Crash Report: | |||
Attachments: | example python script |
Description
Nathaniel Beaver
2020-02-16 23:15:53 UTC
Created attachment 126088 [details]
example python script
Probably duplicate of https://bugs.kde.org/show_bug.cgi?id=411718? Upstream Qt fix is https://codereview.qt-project.org/c/qt/qtbase/+/328240, but it was not cherry-picked to kde/5.15 branch AFAICS. I just tried the example file with kde-cli-tools commit 1e68eb303b42a05e613020519d97189c622d78aa and there the result was `text/x-python`. I assume the upstream changes were added in the mean time. The source build kmimetypefinder identifies as version `5.81.80` – I'll use that as fixed in. |