You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Call OAuth.setParameters(message,parameters) with 'parameters' as null
and 'message' as anything
2. Observe failure due to OAuth.getParameterList returning null and this
not being checked for before assuming the return value has a 'length' property
What is the expected output? What do you see instead?
You expect a string output. Instead, the function throws an error.
What version of the product are you using? On what operating system?
oauth.js, revision 564, Mac OS X 10.4.11, Safari 3.1.1, FireFox 2.0.0.14
Please provide any additional information below.
Patch file attached. Note this problem could also occur in
OAuth.getBaseString and OAuth.normalizeParameters, but not in
OAuth.formEncode, which checks for a null return value. The method used in
the patch is the same as in OAuth.formEncode.
Original issue reported on code.google.com by jnthnl...@gmail.com on 29 May 2008 at 5:34
Original issue reported on code.google.com by
jnthnl...@gmail.com
on 29 May 2008 at 5:34Attachments:
The text was updated successfully, but these errors were encountered: