Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added language to withPath() regarding percent encoding #27

Merged
merged 3 commits into from
Mar 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/UriInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ public function withPort($port);
* The path MUST be prefixed with "/"; if not, the implementation MAY
* provide the prefix itself.
*
* The implementation MUST percent-encode reserved characters as
* specified in RFC 3986, Section 2, but MUST NOT double-encode any
* characters.
*
* An empty path value is equivalent to removing the path.
*
* @param string $path The path to use with the new instance.
Expand All @@ -223,6 +227,10 @@ public function withPath($path);
* Additionally, the query string SHOULD be parseable by parse_str() in
* order to be valid.
*
* The implementation MUST percent-encode reserved characters as
* specified in RFC 3986, Section 2, but MUST NOT double-encode any
* characters.
*
* An empty query string value is equivalent to removing the query string.
*
* @param string $query The query string to use with the new instance.
Expand Down