[spec] adding a "magic number" for gemini files
cage
cage-dev at twistfold.it
Sun Dec 27 11:56:47 GMT 2020
On Sat, Dec 26, 2020 at 06:25:43PM -0500, Sean Conner wrote:
[...]
> > I was thinking abo[u]t file(1) and libmagic in general.
>
> I use libmagic for my server [1] and yet, I still use an extension to mark
> a Gemini text file.
Do you mean you check the file extension for recognize a gemini file?
Or you use same kind of heuristic to prevent libmagic to returns
gemini file as text?
Bye!
C.
More information about the Gemini
mailing list