Closed TWEESTY closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
ca2fab2
) 67.17% compared to head (cfa1bb2
) 67.20%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I'd prefer to avoid the URL parsing if the principal scenario is unblocked without it.
Alright I've updated the code in this way?
Description
The .NET SDK Client for Dapr does not handle the case where the app id contains an upper character for HTPP service invocation, because it uses the property Host of the URI, which is case insensitive (always in lower case), inside the class InvocationHandler.
The change is to use the appid sent when creating the HTTPClient or if there is no appId, use the host issued by the original string of the URI to get the correct app id (i.e. case sensitive).
The DaprClient can always be used for another appid if the user put an absolute URI.
There is no breaking change.
Issue reference
[#937]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: