Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Values with spaces are encoded incorrectly #1

@okainov

Description

@okainov

If one passes ["mydata" => "data with spaces"] then one will get "Invalid signature" error, because even if in the request there were spaces, https://github.com/ofmlabs/oauth-php/blob/master/library/OAuthRequest.php#L751 this piece of code gets all spaces as + (and + as %2B). Easy fix is to replace + => %20 there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions