Skip to content

URL-encoded path resolves to a 404 #1116

@mathstuf

Description

@mathstuf

Seen here: https://www.reddit.com/r/rust/comments/197811x/the_bane_of_my_existence_supporting_both_async/khz8yre/?context=3

It looks like Reddit encodes the ~ in the URL as %7E. The browser renders that as ~ everywhere. It ends up with a 404 because the %7E is not decoded before looking up routes.

  • Plume version: 0.7.2
  • Operating system: Linux
  • Web Browser: Firefox at least

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions