Skip to content

MimeMapping for ots has a trailing space in its mime type #29746

@SecretX33

Description

@SecretX33

I, unfortunately, don't have enough time to submit a PR for this issue, but it is most likely a typo, and it should be really easy to fix. On the class MimeMappings, more precisely, on this line, there is a space between the last letter and the ", and I believe this is a typo, correct me if I'm wrong.

How it is right now

mappings.add("ots", "application/vnd.oasis.opendocument.spreadsheet-template ");

What I believe should have been

mappings.add("ots", "application/vnd.oasis.opendocument.spreadsheet-template");

I caught that when building unit tests for a code that parses mime types of a file for the company I work for.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions