[Bug 262278] file(1) fails to identify a JAR file

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Mar 2022 18:39:29 UTC

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
JAR files are in fact ZIP files, just with special metadata. libmagic's JAR
detection was added here:

JAR files often have 0xcafe at a specific location in the ZIP file and libmagic
keys on this, but it is not required, and the file you've linked does not have
this field.

Useful links:

This should probably be reported/discussed at http://www.darwinsys.com/file/

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