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.
When not actually following the redirect and the target URL is only
stored for later retrieval, curl always accepted "non-supported"
schemes. This was a regression from 46e1640.
Reported-by: Brad King
Fixes#3210
I did this
Build curl 7.62.0 from source with
--without-ssl
to disable https support. Then try to GET a http URL that redirects to https via 301, e.g.:It now fails because https is unsupported even though
-L
is not passed.I expected the following
curl/libcurl version
7.62.0. The failure bisects to commit 46e1640 from PR #3017.
The text was updated successfully, but these errors were encountered: