mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Absolute references to Net.
This commit is contained in:
parent
b7eafa2e9e
commit
45c248aaf4
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module OmniAuth
|
|||
# retrieves the `<cas:serviceResponse>` XML from the CAS server
|
||||
def get_service_response_body
|
||||
result = ''
|
||||
http = Net::HTTP.new(@uri.host, @uri.port)
|
||||
http = ::Net::HTTP.new(@uri.host, @uri.port)
|
||||
http.use_ssl = @uri.port == 443 || @uri.instance_of?(URI::HTTPS)
|
||||
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl? && @configuration.disable_ssl_verification?
|
||||
http.start do |c|
|
||||
|
|
Loading…
Add table
Reference in a new issue