Set hostname for signed requests correctly
This commit is contained in:
parent
57c4438b75
commit
b7e795e1e1
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ private
|
|||
def signed_get(uri, options)
|
||||
uri = URI.parse(uri)
|
||||
uri.scheme ||= "http"
|
||||
uri.host ||= host
|
||||
uri.host ||= "www.example.com"
|
||||
|
||||
helper = OAuth::Client::Helper.new(nil, options)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue