lately I am working on a case of unwanted redirects on our Azure hosted ASP .NET Core app which uses IIS. We have a problem with request containing two HTTP/HTTPS prefixes. I entered the Failed Request Tracing logs and see this (look at the RequestURL value):


Which then later gets shortened to this:

Anybody can help me understand why it happens? It happens before the request enters the rewrite pipeline, and even then, we don't have any rewrite rules which could cause it.
Our IIS rewrite rule after which redirection is happening:
Источник: https://stackoverflow.com/questions/780 ... s-pipeline
Мобильная версия