Skip to content

MethodGroupHelper ignoring empty args when sending query but not when building sig #3

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Using Notifications.send make a valid call leaving the email argument blank
2. Signature is hashed including the email as an argument
3. Query string is built and continues past the email argument because it
is blank

What is the expected output? What do you see instead?
Facebook API should respond with notifications_send_response but instead
you receive an Invalid Signature error.

To correct this add the following at line 127 of
com.adobe.webapis.facebook.methodgroups.MethodGroupHelper

if (args[j].value.toString().length==0) continue;

Original issue reported on code.google.com by robin.so...@gmail.com on 30 Oct 2008 at 11:58

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions