Skip to content

don't url-decode slash or plus in redirect URLs #322

@autumnull

Description

@autumnull

If amfora receives a response that looks like this:

30 gemini://example.org/some%2Fpath/to%2Ba%2Bpage/

It decodes this and tries to access the page at

gemini://example.org/some/path/to+a+page/

This is a different url to the one given in the redirect -- the / character is a path separator, but %2F is not. Amfora should not decode these characters when handling redirects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions