Skip to content

Display page even if mediatype params are malformed #141

@makew0rld

Description

@makew0rld

If the mediatype returned by a Gemini server is text/gemini; lang=\, then mime.ParseMediaType will return text/gemini as the mediatype, an empty param map map[] and an error: mime: invalid media parameter. Because of the error, Amfora will ask you if you want to download the page. Instead, it should use just the mediatype if it's not an empty string and there's an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions