-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle PUT data #11
Open
CloCkWeRX
wants to merge
32
commits into
jeffhodsdon:master
Choose a base branch
from
pear:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Handle PUT data #11
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As per RFC 5849 section 3.4.1.3.2, parameter names are encoded to form the signature base string. If they are not decoded when the request is parsed, they are double encoded in the base string.
Decode parameter names as well as values in provider.
See https://pear.php.net/bugs/bug.php?id=18431 and https://pear.php.net/bugs/bug.php?id=20106. This handles the request body with a consistent API to the way request headers are handled. It should fix the bugs in both 18431 and 20106.
Clean up handling of PUT data.
Bug 20107 add array params
See [PEAR Bug 18574](https://pear.php.net/bugs/18574).
Use exception chaining if PHP 5.3 is available.
See [PEAR Bug 17806](https://pear.php.net/bugs/bug.php?id=17806) [RFC 5849 section 3.4.1.3.1](http://tools.ietf.org/html/rfc5849#section-3.4.1.3.1) says any request can have params in the request body provided the content-type is set correctly and the entity-body is single-part and formatted correctly.
Handle HTTP request body params better.
Add LICENSE file.
* Add LICENSE and README as role=doc exceptions * Ignore *.tgz
Cleanup package.xml generator.
Parameter passed to reset() must be a reference.
Fix E_STRICT in MessageTest.
Strip the Oauth scheme before parsing parameters. Strip whitespace consistently from parameters. Add comments.
Fix parsing of Authorization header values.
Add composer support.
Fix README design
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See http://pear.php.net/bugs/bug.php?id=18431