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

URL Rewriting policy is removing multi value headers #9085

Closed
exalate-issue-sync bot opened this issue Jun 8, 2023 · 0 comments
Closed

URL Rewriting policy is removing multi value headers #9085

exalate-issue-sync bot opened this issue Jun 8, 2023 · 0 comments

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Jun 8, 2023

Description

The URL Rewriting policy removes multi-value headers and replaces them with their last value

To reproduce

Import the following API and do a call on the gateway:

[APIM-1387-1.json^!/images/icons/link_attachment_7.gif!^| /rest/api/3/attachment/content/11692 "APIM-1387-1.json attached to APIM-1906"]

You will notice a single set-cookie header instead of the 2 expected.

This API is targeting [https://httpbin.org/cookies/set?SID=ABAN12398123NJHJZEHDK123012039301U93274923U4KADNZKN&JSESSIONID=EASQSDSDFFOEZIRELZNLJXCL](https://httpbin.org/cookies/set?SID=ABAN12398123NJHJZEHDK123012039301U93274923U4KADNZKN&JSESSIONID=EASQSDSDFFOEZIRELZNLJXCL)([https://httpbin.org/cookies/set?SID=ABAN12398123NJHJZEHDK123012039301U93274923U4KADNZKN&JSESSIONID=EASQSDSDFFOEZIRELZNLJXCL](https://httpbin.org/cookies/set?SID=ABAN12398123NJHJZEHDK123012039301U93274923U4KADNZKN&JSESSIONID=EASQSDSDFFOEZIRELZNLJXCL)) and has a simple configuration for the URL Rewriting policy.

mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Jun 27, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Jun 27, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants