kmoonki / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

Host name in signature basestring should be lowercase #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use PHP Client library
2. Have a request token endpoint URL with uppercase characters in authority 
(e.g. https://API.LinkedIn.com/uas/oauth/requestToken
3. dump request: basestring contains LinkedIn in stead of linkedin

What is the expected output? What do you see instead?

    [base_string] => GET&https%3A%2F%2Fapi.linkedin.com%2Fuas%2Foauth%2FrequestToken&oauth_callback_url%3Dhttp%253A%252F%252Fexample.com%252F%26oauth_consumer_key%3DkwwBkXqbR67lGyJLmXf_zto6BU6dMCAAgMZmumHGQwJDEM7KCiQA6nkgWK_Kd57_%26oauth_nonce%3D44de57b3ef823ef0753dd1fdfe3e4114%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1278396884%26oauth_version%3D1.0

but get:

    [base_string] => GET&https%3A%2F%2FAPI.LinkedIn.com%2Fuas%2Foauth%2FrequestToken&oauth_callback_url%3Dhttp%253A%252F%252Fexample.com%252F%26oauth_consumer_key%3DkwwBkXqbR67lGyJLmXf_zto6BU6dMCAAgMZmumHGQwJDEM7KCiQA6nkgWK_Kd57_%26oauth_nonce%3D44de57b3ef823ef0753dd1fdfe3e4114%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1278396884%26oauth_version%3D1.0

What version of the product are you using? On what operating system?

Revision: 1236

Please provide any additional information below.

a patch is attached

Original issue reported on code.google.com by epsilon...@gmail.com on 6 Jul 2010 at 6:17

Attachments:

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue #187

Original comment by morten.f...@gmail.com on 29 Mar 2011 at 4:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1258.

Original comment by morten.f...@gmail.com on 29 Mar 2011 at 5:17