-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
I'm not the first to notice this, see:
Which implies people have even relied on the current behavior as a hack ... but I think it's pretty clear that the current behavior is an accidental bug, which should be fixed (for requests 3?)
Vaguely related to #3829
Expected Result
An empty-string CURL_CA_BUNDLE should use default system verification, the same way as:
- An unset CURL_CA_BUNDLE
- An empty-string or unset REQUESTS_CA_BUNDLE
- Behavior of curl/libcurl with an empty-string or unset CURL_CA_BUNDLE
Actual Result
Empty CURL_CA_BUNDLE disables certificate verification
Reproduction Steps
- Set CURL_CA_BUNDLE to an empty value, try to fetch a self-signed or invalid HTTPS endpoint => success
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels