[kde] [Bug 474190] New: text files starting with PACKAGE* get the mime type application/x-pak instead of text/plain

bug-control at kde.org bug-control at kde.org
Tue Sep 5 16:21:11 BST 2023


https://bugs.kde.org/show_bug.cgi?id=474190

            Bug ID: 474190
           Summary: text files starting with PACKAGE* get the mime type
                    application/x-pak instead of text/plain
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: wse at tuxedocomputers.com
  Target Milestone: ---

SUMMARY
Any plaintext file that starts with PACKAGE* and doesn't have a filename ending
associated with a mime type, gets the mime type application/x-pak. This happens
for example fore dkms.conf file that don't have licensing information preceding
and therefore start with PACKAGE_NAME=<some_name>

STEPS TO REPRODUCE
echo "PACKAGEloremipsum" > foo

OBSERVED RESULT
foo has the mime type application/x-pak

EXPECTED RESULT
foo has the mime type text/plain

SOFTWARE/OS VERSIONS
Linux: 6.2.0-10018-tuxedo
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list