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

fix: prevent multiple remappings from applying the .proxy path twice #252

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

matthova
Copy link
Contributor

@matthova matthova commented Sep 8, 2024

We already do this in attemptRemap but we need to apply it in matchAndRewriteURL as well.

It's worth asking, why are we checking this twice? Why are we adding /.proxy in two places?
In case the original url has no matching urls to map to, we still want to inject the /.proxy path.

@matthova matthova merged commit 1c63d30 into main Sep 9, 2024
4 checks passed
@matthova matthova deleted the matthova/prevent-due-proxy branch September 9, 2024 18:04
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.

2 participants