Skip to content

[Bug] Kittygram redirects include an extra slash (/) #1126

@irelephanttt

Description

@irelephanttt

I run https://kittygram.irelephant.net. I was looking through the logs a bit ago and noticed that a lot of people were going to routes like //p/DNJOyzyhYuV/ (example: https://kittygram.irelephant.net//DNJOyzyhYuV/) instead of /p/DNJOyzyhYuV (example: https://kittygram.irelephant.net/p/DNJOyzyhYuV/).
I tested libredirect, and it redirected me to a malformed path with an extra slash.
This means a lot of users are getting 404s after getting redirected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions