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

[now-routing-utils] Fix segments in query string #3640

Merged
merged 3 commits into from Jan 22, 2020

Conversation

styfle
Copy link
Member

@styfle styfle commented Jan 22, 2020

This PR a regression when path segments are used in the query string.

Take a look at the following ASCII Table for why I had to delete certain parts of the parsed url before formatting again.

https://nodejs.org/api/url.html#url_url_strings_and_url_objects

Related to #3539
Fixes #3540

@vercel
Copy link

vercel bot commented Jan 22, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/zeit/now/r2og9o1tn
✅ Preview: https://now-git-product-341-fix-segment-qs.zeit.now.sh

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kodiakhq kodiakhq bot merged commit 4b7367e into master Jan 22, 2020
@kodiakhq kodiakhq bot deleted the PRODUCT-341/fix-segment-qs branch January 22, 2020 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

now.json "rewrites" with named params have strange value once deployed
2 participants