[kde] [Bug 474190] text files starting with PACKAGE* get the mime type application/x-pak instead of text/plain
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Wed Sep 20 15:50:27 BST 2023
https://bugs.kde.org/show_bug.cgi?id=474190
tagwerk19 at innerjoin.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tagwerk19 at innerjoin.org
--- Comment #3 from tagwerk19 at innerjoin.org ---
(In reply to Werner Sembach [TUXEDO] from comment #0)
> STEPS TO REPRODUCE
> echo "PACKAGEloremipsum" > foo
>
> OBSERVED RESULT
> foo has the mime type application/x-pak
That comes from the following entry in:
/usr/share/mime/packages/freedesktop.org.xml
<mime-type type="application/x-pak">
<comment>PAK archive</comment>
...
<comment xml:lang="en_GB">PAK archive</comment>
...
<generic-icon name="package-x-generic"/>
<magic priority="80">
<match offset="0" type="string" value="PACK"/>
</magic>
<glob pattern="*.pak"/>
</mime-type>
Looks like the "PAK Archive" format was something in DOS back in the 1990's.
Can give you a German Wiki article (seemingly no English equivalent):
https://de.wikipedia.org/wiki/PAK_(Dateiformat)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list