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
cabal-install: update curl transport to support Basic authentication (#10089)
* cabal-install: extract url scheme checks
Extract a bunch of string equality checks for the URI scheme to
top-level functions.
* cabal-install: refactor and document transport checks
"They're the same picture". Thus, refactor the *transport supports
https* checks.
* cabal-install: allow Basic authentication in curl transport
Allow the curl transport to use Basic authentication, if and only if
the url scheme is HTTPS (i.e. TLS will be used). Retain the
existing behaviour (force Digest scheme) for insecure requests.
This change is required to support upcoming hackage-server changes.
The wget transport already supports Basic authentication.
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
0 commit comments