Skip to content

Leading slashes handled differently before @ #140

Open

Description

@ojeytonwilliams

Hey, I noticed what looks like a bug with how leading slashes are processed.

This repository reproduces it.

Once the micro server has started, if you go to http://localhost:3000//test/txt.txt you should see an empty page. However, if you go to http://localhost:3000//@test/txt.txt it will 404. Without the extra slash, both paths, http://localhost:3000/test/txt.txt and http://localhost:3000/@test/txt.txt, work as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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