Skip to content

fix: Ensure Location header is properly encoded in redirects #871

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

Merged
merged 5 commits into from
May 24, 2025

Conversation

sommeeeer
Copy link
Contributor

For #854

We should ensure that the Location header in redirect responses is properly encoded before returning the response to the client. This is for redirects happening from next config.

Copy link

changeset-bot bot commented May 21, 2025

🦋 Changeset detected

Latest commit: 63b94ee

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

This PR includes changesets to release 3 packages
Name Type
@opennextjs/aws Patch
app-pages-router Patch
app-router 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

Copy link

pkg-pr-new bot commented May 21, 2025

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@871

commit: 63b94ee

lamminsalo pushed a commit to lamminsalo/Opennext-Query-Parameter-Minimal-Reproduction that referenced this pull request May 21, 2025
@lamminsalo
Copy link

Copy link
Contributor

@conico974 conico974 left a comment

Choose a reason for hiding this comment

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

LGTM Thanks

@conico974 conico974 merged commit 1c23954 into opennextjs:main May 24, 2025
3 checks passed
@sommeeeer sommeeeer deleted the fix-redirect-encoding branch May 25, 2025 15:38
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.

3 participants