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: use only pathname when matching function URLs #6046

Closed
wants to merge 1 commit into from

Conversation

eduardoboucas
Copy link
Member

Summary

Fixes a regression in #5998. When getFunctionForURLPath receives a URL, it can contain query parameters. When matching function routes, we want to match only the pathname, so we must parse the URL.

@eduardoboucas eduardoboucas requested a review from a team as a code owner October 9, 2023 14:35
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

📊 Benchmark results

Comparing with 05c44a6

  • Dependency count: 1,385 (no change)
  • Package size: 388 MB ⬆️ 0.00% increase vs. 05c44a6

@eduardoboucas
Copy link
Member Author

Closing in favour of #6043.

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