Show the offending URL in Python mirror errors (#22364)
When a Python download URL does not match the upstream format expected
by a custom mirror, the error repeats the mirror environment variable
instead of showing the offending URL. Display the URL in that diagnostic
and store it as a `DisplaySafeUrl` so passwords and sensitive query
parameters are redacted. Malformed source URLs use the existing
`InvalidUrl` error.
Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>