[File] Gemtext file badly recognized as HTML
Christos Zoulas
christos at zoulas.com
Sat Jan 31 15:47:48 UTC 2026
Running with -d says:
*unknown*, 115: > 0 search/wct/4096,=<a href=,"HTML document text"]
search: [# 2026-01-30 Locking the gate\n\nThe last few days have once again been pretty stressful as the scrape...] for [<a href=] found
0 == 0 = 1 strength=68
[try ascmagic 1]
/Users/christos/bad_mime.DEFANGED-16: HTML document, Unicode text, UTF-8 text, with very long lines (440)
christos
> On Jan 31, 2026, at 7:17 AM, ploumfile at offpunk.net wrote:
>
> Hello,
>
> The attached "bad_mime" file is recognized by file as HTML despite not having a single HTML tag in it.
>
> This file should be recognized as plaintext (or gemtext)
>
> original can be seen here:
> gemini://alexschroeder.ch/2026-01-30-lock-the-gate
>
> Regards,
>
> Ploum,
> Heavily relying on "file" in the Offpunk offline browser.
> --
> Ploum - Lionel Dricot
>
> Blog: https://www.ploum.net
> Bikepunk: https://bikepunk.fr/
> <bad_mime.DEFANGED-16>--
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20260131/4e1cb34b/attachment.asc>
More information about the File
mailing list