WP-API / OAuth1

OAuth server implementation for WP API
http://oauth1.wp-api.org/
327 stars 109 forks source link

Don't treat multipart entity-body as parameter sources #206

Closed tsmd closed 1 year ago

tsmd commented 7 years ago

Current implementation generates wrong signature when multipart posting e.g. image file upload.

According to the specification of OAuth, multipart entity-body should not be treated as parameter sources.

iamntz commented 7 years ago

According to the specification of OAuth, multipart entity-body should not be treated as parameter sources.

More specifically, this section:

https://oauth.net/core/1.0a/#anchor13