Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixed broken routing on Windows #327

Closed
wants to merge 3 commits into from
Closed

Fixed broken routing on Windows #327

wants to merge 3 commits into from

Conversation

colecrouter
Copy link
Contributor

@colecrouter colecrouter commented Jan 27, 2022

On Windows, routes keeping coming out with single backslashes delimiters, which break everything. Added a regex to convert \ to /. See #92.
NOTE: I don't know if this messes with any Unix path escaping.

@changeset-bot
Copy link

changeset-bot bot commented Jan 27, 2022

🦋 Changeset detected

Latest commit: f9bd246

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@petebacondarwin petebacondarwin mentioned this pull request Jan 28, 2022
petebacondarwin added a commit to petebacondarwin/wrangler2 that referenced this pull request Feb 1, 2022
Previously route paths were manipulated by file-system path utilities.
On Windows this resulted in URLs that had backslashes, which are invalid for such URLs.

Fixes cloudflare#51
Closes cloudflare#235
Closes cloudflare#330
Closes cloudflare#327
petebacondarwin added a commit to petebacondarwin/wrangler2 that referenced this pull request Feb 1, 2022
Previously route paths were manipulated by file-system path utilities.
On Windows this resulted in URLs that had backslashes, which are invalid for such URLs.

Fixes cloudflare#51
Closes cloudflare#235
Closes cloudflare#330
Closes cloudflare#327
petebacondarwin added a commit that referenced this pull request Feb 2, 2022
Previously route paths were manipulated by file-system path utilities.
On Windows this resulted in URLs that had backslashes, which are invalid for such URLs.

Fixes #51
Closes #235
Closes #330
Closes #327
@github-actions github-actions bot mentioned this pull request Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant