Skip to content

🐛 BUG: URLs contains // will not match any functions file path pattern #1935

@Jiaocz

Description

@Jiaocz

What version of Wrangler are you using?

2.1.8

What operating system are you using?

Windows 10 21H2

Describe the Bug

it seems that URL http://127.0.0.1:8788/gh/https://example.org will not match any of these path patterns, but http://127.0.0.1:8788/gh/https:/example.org (just one / after https:) will match /functions/gh/[[path]].ts.

image

It doesn't enter any functions, but just fetched index.html in root dir.

Dev server started using command npx wrangler pages dev .

Metadata

Metadata

Assignees

No one assigned

    Labels

    pagesRelating to Pages

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions