Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c# lib baseSignature bug #8

Open
GoogleCodeExporter opened this issue Oct 21, 2015 · 1 comment
Open

c# lib baseSignature bug #8

GoogleCodeExporter opened this issue Oct 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

There is a bug in the c# library when generating the baseSignature. 

Method: public string GenerateSignatureBase

            signatureBase.AppendFormat("{0}&",
UrlEncode(normalizedRequestParameters));
            signatureBase.AppendFormat("{0}&", UrlEncode(consumerSecret));
            signatureBase.AppendFormat("{0}", UrlEncode(tokenSecret));

should be removed and replaced with 

            signatureBase.AppendFormat("{0}",
UrlEncode(normalizedRequestParameters));

I tested with the testcase outlined in http://oauth.net/core/1.0/#anchor30,
Appendix A.5.1. the secret tokens shouldn't be included in the
signatureBase according to the expected output. Now my oAuth lib
modifications work with hyves.net api 0.9, not sure if this is wrong
behavior on their side or in the oAuthBase code.

Original issue reported on code.google.com by tom....@gmail.com on 29 Jan 2008 at 3:38

@GoogleCodeExporter
Copy link
Author

Original comment by andyster on 15 Jul 2008 at 11:25

  • Added labels: Lib-CSharp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant