You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried removing those lines in a local checkout and confirmed that I got errors on unrecognized schemes. Of course, this causes hyper to reject "https:" URLs because it doesn't recognize them. It seems like reqwest needs some extra logic to enforce valid schemes, since it turns off hyper's validation.
Steps to reproduce:
Expected result:
Receive an error.
Actual result:
A request is made to the hostname and path from that URL, via HTTP.
This is a bit of a safety problem, since someone could typo the https schema as "htttps:", and the requests would silently be downgraded to HTTP.
The text was updated successfully, but these errors were encountered: