Skip to content
Discussion options

You must be logged in to vote

Indeed, the APIM policy was also the solution I was thinking about as a workaround. I've added the following code to the outbound section of the APIM policy (quick and dirty setup):

<find-and-replace from="@(context.Request.Url.Scheme + "://" + context.Request.Url.Host + ":" + context.Request.Url.Port + context.Request.Url.Path)" to="@(context.Request.OriginalUrl.Scheme + "://" + context.Request.OriginalUrl.Host + context.Request.OriginalUrl.Path)" />

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dennismeijer84
Comment options

Answer selected by dennismeijer84
@seantleonard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants