cmd
cmd copied to clipboard
Url fragments being duplicated for endpoints that have them.
All of the Azure and Entra endpoints have this issue where the redirect ends up duplicating the fragment. Most of the time it doesn't matter but it is breaking the ad.cmd.ms
endpoint at the very least.
A few examples:
$hop1 = Invoke-WebRequest -Uri 'https://ad.cmd.ms' -MaximumRedirection 0 -SkipHttpErrorCheck
$hop1.Headers.Location
$hop2 = Invoke-WebRequest -Uri $hop1.Headers.Location[0] -MaximumRedirection 0 -SkipHttpErrorCheck
$hop2.Headers.Location
I had a look through the repo, but I'm not sure how you are handling the redirects beyond creating the _redirects
file.
Thanks, I didn't notice this. It looks like it started today.
The _redirects
file is directly used by Cloudflare to perform the redirect. I have raised it with them to find a resolution.