mirror of
https://github.com/lostisland/faraday.git
synced 2025-08-23 00:01:48 -04:00
[em-http] uri request host instead of connection host should be taken for SSL validations.
This commit is contained in:
parent
f97f1874e4
commit
9efca4778b
@ -39,7 +39,7 @@ module EmHttpSslPatch
|
||||
end
|
||||
|
||||
def host
|
||||
parent.connopts.host
|
||||
parent.uri.host
|
||||
end
|
||||
|
||||
def certificate_store
|
||||
|
Loading…
x
Reference in New Issue
Block a user