Skip to content

Can we add an additional mime-type for RAR? #20497

@s1lver

Description

@s1lver

The list of mime-types at https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types and in the framework only includes the application/x-rar-compressed type.

'application/x-rar-compressed' => 'rar',

However, the finfo function can return application/x-rar for a RAR archive.

eg

(new finfo(FILEINFO_MIME_TYPE))->buffer('archive.rar'); // application/x-rar

Can we add this additional variant, or is this already an edge case that doesn't belong in the framework?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions