scream78 / oauth

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

parameters not being encoding during normalization #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
in NormalizeRequestParameters changed:

sb.AppendFormat("{0}={1}", p.Name, p.Value);

to:

sb.AppendFormat("{0}={1}", this.UrlEncode(p.Name), this.UrlEncode(p.Value));

per the OAuth spec

Original issue reported on code.google.com by JohnnieB...@gmail.com on 12 Mar 2009 at 2:12

GoogleCodeExporter commented 9 years ago
Which library is this? Python? Ruby?

Original comment by jmkrist...@gmail.com on 9 Apr 2009 at 3:43

GoogleCodeExporter commented 9 years ago
Not the python lib... looks like ruby?

Original comment by leah.culver on 19 May 2009 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by leah.culver on 19 May 2009 at 10:05

GoogleCodeExporter commented 9 years ago
It's C#, not Ruby.

http://code.google.com/p/oauth/source/browse/code/csharp/OAuthBase.cs#162

Original comment by kato.kaz...@gmail.com on 17 May 2010 at 7:25