The Wayback Machine - https://web.archive.org/web/20220415092604/https://github.com/gatsbyjs/gatsby/pull/35346
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(gatsby): fix decoding issue in SSR #35346

Merged
merged 4 commits into from Apr 7, 2022
Merged

Conversation

Copy link
Contributor

@marvinjude marvinjude commented Apr 5, 2022

Description

In SSR pages, querystring encoding is not preserved as with other pages types. This ends up making location.search to be incorrect when querystring key or value contains special characters like %23(#). This PR addresses this issue by making sure querystring encoding is preserved in SSR mode — Just like in other page types

Todo

  • Add some tests

Related Issues

Fixes #35254

[sc-48353]

@gatsbot gatsbot bot added the status: triage needed label Apr 5, 2022
@marvinjude marvinjude changed the title fix(gatsby): fix ssr endcoding issue fix(gatsby): fix decoding issue in SSR Apr 5, 2022
@LekoArts LekoArts added topic: core topic: render-mode and removed status: triage needed labels Apr 6, 2022
@marvinjude marvinjude marked this pull request as ready for review Apr 6, 2022
@LekoArts LekoArts merged commit 0809c20 into master Apr 7, 2022
28 of 31 checks passed
@LekoArts LekoArts deleted the juag/fix-ssr-encoding-issue branch Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core topic: render-mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants