Skip to content

Commit 6a3d8f1

Browse files
committed
Encoding pertains to the query string as well
1 parent 7a3382a commit 6a3d8f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/UriInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ public function withPath($path);
227227
* Additionally, the query string SHOULD be parseable by parse_str() in
228228
* order to be valid.
229229
*
230+
* The implementation MUST percent encode reserved characters as
231+
* specified in RFC 3986, Section 2, but MUST NOT double-encode any
232+
* characters.
233+
*
230234
* An empty query string value is equivalent to removing the query string.
231235
*
232236
* @param string $query The query string to use with the new instance.

0 commit comments

Comments
 (0)