You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to reproduce given the details you provided but wasn't able to see any missing header values. I tried on netcoreapp2.0, 2.1, and 2.2 All on Windows 10 with Microsoft.Azure.Relay.dll package 2.0.1.
Can you tell what's different or could you modify the MultiValueHeader unit test to demonstrate the issue?
The problem occurs when there are already cookies present from the forwarded Http-request, especially when there is more than one Set-cookie header. I've tested this when forwarding requests t o an IIS-server which uses IdentityServer for authentication. Then some of the cookies that are needed for authentication were not delivered to the browser, only the first one seems to survive.
Actual Behavior
Expected Behavior
Versions
When using a modified version of the SendResponseAsync-method of https://github.com/Azure/azure-relay/tree/master/samples/hybrid-connections/dotnet/hcreverseproxy/Microsoft.Azure.Relay.ReverseProxy/HybridConnectionReverseProxy.cs
like this
then only the first cookie (i.e. test2) will be returned to the browser.
It look likes that the Azure Hybrid Connection doesn't support the comma as a separator for handling multiple cookies with a single Set-Cookie header.
The text was updated successfully, but these errors were encountered: