I suggest you check out DotNetOpenAuth <http://dotnetopenauth.net/>. It shouldn't have bugs like this and is a complete library for OAuth rather than just helping with message signing. -- Andrew Arnott "I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre
On Fri, Jul 17, 2009 at 10:52 AM, rjlopes <[email protected]> wrote: > > Hi, > > I was testing the OAuthBase and find out a bug when using it with > MySpace. > > The problem is that MySpace uses an url as oauth_consumer_key and the > NormalizeRequestParameters doesn't encode the parameters values. > > The fix is really simple, just change: > > sb.AppendFormat("{0}={1}", p.Name,p.Value); > > to: > > sb.AppendFormat("{0}={1}", p.Name, UrlEncode(p.Value)); > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~----------~----~----~----~------~----~------~--~---
