Skip to content

fix(response): honor explicit query string forwarding overrides - #142

Merged
RomainLanz merged 1 commit into
9.xfrom
fix/redirect-query-string-override
Sep 23, 2026
Merged

RomainLanz merged 1 commit into
9.xfrom
fix/redirect-query-string-override

Conversation

@RomainLanz

Copy link
Copy Markdown
Member

When redirect.forwardQueryString is enabled globally, response.redirect(path, false) must disable it for that redirect. The method currently ignores this explicit opt-out.

Pass an explicitly provided boolean to the redirect handler, while leaving the global setting in effect when the argument is omitted. Tests cover both behaviors.

Closes #127.

@RomainLanz
RomainLanz merged commit 22736fd into 9.x Sep 23, 2026
10 checks passed
@RomainLanz
RomainLanz deleted the fix/redirect-query-string-override branch September 23, 2026 12:00
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.

redirect() doesn't take into account forwardQueryString argument

1 participant