Skip to content
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