Skip to content

docs: document query-string manipulation of the redirect Location header#4059

Open
mvanhorn wants to merge 1 commit into
zalando:masterfrom
mvanhorn:fix/3433-redirect-location-query-examples
Open

docs: document query-string manipulation of the redirect Location header#4059
mvanhorn wants to merge 1 commit into
zalando:masterfrom
mvanhorn:fix/3433-redirect-location-query-examples

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents how to manipulate the query string of the redirectTo / redirect Location header, which was previously undocumented.

Why this matters

Requested in #3433: the filters reference did not explain how query parameters on the redirect Location are handled or how to modify them, so users had to read the source. This adds a worked section to the filters reference.

Changes

  • Add a section to docs/reference/filters.md covering query-string manipulation of the redirect Location header, with examples.

Testing

Documentation only.

Fixes #3433

AI was used for assistance.

@MustafaSaber

Copy link
Copy Markdown
Member

Please sign your commit to make DCO happy

Comment thread docs/reference/filters.md

see also [redirect-handling](../tutorials/common-use-cases.md#redirect-handling)

#### Manipulating the redirect Location query string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am not sure if it would not be better placed in the referenced tutorial.
The reference of a single filter is not a good place to explain how filter pipelines work and how to do composition to achieve a goal.

Comment thread docs/reference/filters.md
@@ -465,6 +465,44 @@ redirect2: * -> redirectTo(301) -> <shunt>;

see also [redirect-handling](../tutorials/common-use-cases.md#redirect-handling)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This link here shows a great place for this kind of documentation.

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.

feature: query filters for response path location header

3 participants