pelle / oauth-plugin

Rails plugin for OAuth
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
MIT License
716 stars 216 forks source link

Encoded parameters causes failed signature #100

Open ephracis opened 12 years ago

ephracis commented 12 years ago

Encoded values works fine, but encoded names does not. The OAuth specification seems to allow encoded characters in the parameter names.

Encoded names are needed since Rails expect parameters to have brackets in them. For example when updating the name of a device model one would send out device%5Bname%5D=foo

a-chernykh commented 12 years ago

+1 on this issue.

ephracis commented 12 years ago

I have sent a pull request to the oauth gem which fixes this issue. Hopefully they will include it.

a-chernykh commented 12 years ago

great! thanks for the heads up, @ephracis

amritk commented 10 years ago

+1