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

In-Consistency in Host and Origin headers when invoking websokect apis . [ apim-3.2.0 ] #2395

Closed
akila95fernando opened this issue Jan 18, 2024 · 0 comments

Comments

@akila95fernando
Copy link

Description

When invoking Websocket apis , headers are not managed in a case-insensitive manner.
The origin header is set to target URL instead of the source URL.

Steps to Reproduce

Add following configs to deployment.toml

[transport.ws] 
sender.parameters."ws.headers.preserve" = "Origin,Host"

Invoke the WS api with "host" header . GW overrides backend endpoint as host header value .

When invoked without an Origin header , Origin header is set to target URL instead of the source URL .

Affected Component

APIM

Version

3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

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

3 participants