oauth-plugin icon indicating copy to clipboard operation
oauth-plugin copied to clipboard

Encoded parameters causes failed signature

Open ephracis opened this issue 13 years ago • 4 comments

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

ephracis avatar Nov 19 '11 18:11 ephracis

+1 on this issue.

a-chernykh avatar Jan 25 '12 15:01 a-chernykh

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

ephracis avatar Jan 25 '12 15:01 ephracis

great! thanks for the heads up, @ephracis

a-chernykh avatar Jan 25 '12 15:01 a-chernykh

+1

amritk avatar Nov 11 '13 23:11 amritk