Skip to content

Fails to navigate zip/jar/war archives while extensions file intend to allow it #5107

@azazar

Description

@azazar

MC fails to open/navigate into ZIP, JAR, and WAR archives that lack the corresponding file extension (.zip, .jar, .war), even though mc.ext.ini contains rules ([zip-by-type], [jar-war-by-type]) intended to handle such files by content-type detection using the file utility.

Cause

  1. mc.ext.ini contents do not match actual output of the file utility and should be completely revised.
  2. file returns error message when called by MC.
$ file -z -b -S -L test
ERROR:[gzip: Stdin has more than one entry--rest igno] (data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues not related to a specific subsystemprio: mediumHas the potential to affect progress

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions