Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

URL-encoded path resolves to a 404 #1116

Open
mathstuf opened this issue Jan 16, 2024 · 1 comment
Open

URL-encoded path resolves to a 404 #1116

mathstuf opened this issue Jan 16, 2024 · 1 comment
Labels
C: Bug Something isn't working

Comments

@mathstuf
Copy link

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
@mathstuf mathstuf added the C: Bug Something isn't working label Jan 16, 2024
@ahangarha
Copy link
Contributor

I experience this issue but within Plume. If you add a link to another post with a full URL (so it includes ~), the same thing happens.

The issue might be caused by the markdown parser.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants