guzzle / oauth-subscriber

Signs Guzzle requests using OAuth 1.0 (Guzzle 6+)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discrepancy between parameters sent and guzzles PostBody sent

evanpurkhiser opened this issue · comments

When you add a post parameter with a null value it the entire key value pair is removed from the base signature string, however Guzzle will send the post parameter as an empty parameter. Meaning the server will have a signing mismatch.

One of two things could happen

  1. This plugin should be corrected so null parameters are first coerced into empty strings (probably not what we want?)
  2. Parameters with null values should not be added to the PostBody objects.

Is this still an issue with the 0.3.0 release?