wbml / oauth

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

OAuth::urldecode_rfc3986 does not work for plus signs #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Call OAuth::urldecode_rfc3986("+")
This yields " " which is not RFC3986 conforming.
It should yield "+".

Evidence:
1. Observe comment above code, it is wrong--see next function.
2. Compare results with C implementation (oauth_url_unescape). C implementation 
does not change "+" to space.

This is causing problems in a downstream project (IMS LTI).

Original issue reported on code.google.com by dwayne.t...@gmail.com on 19 Feb 2012 at 6:41