From: Tom Hughes Date: Tue, 6 Aug 2013 17:50:43 +0000 (+0100) Subject: Set hostname for signed requests correctly X-Git-Tag: live~4896 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b7e795e1e18c91ce9be79cc8d0d773e5588fe847?ds=sidebyside;hp=57c4438b7559def36e74725346210fd7278b3a48 Set hostname for signed requests correctly --- diff --git a/test/integration/oauth_test.rb b/test/integration/oauth_test.rb index 7ccf0917e..eb4a599bd 100644 --- a/test/integration/oauth_test.rb +++ b/test/integration/oauth_test.rb @@ -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)