File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,10 @@ public function withPort($port);
205205 * The path MUST be prefixed with "/"; if not, the implementation MAY
206206 * provide the prefix itself.
207207 *
208+ * The implementation MUST percent-encode reserved characters as
209+ * specified in RFC 3986, Section 2, but MUST NOT double-encode any
210+ * characters.
211+ *
208212 * An empty path value is equivalent to removing the path.
209213 *
210214 * @param string $path The path to use with the new instance.
@@ -223,6 +227,10 @@ public function withPath($path);
223227 * Additionally, the query string SHOULD be parseable by parse_str() in
224228 * order to be valid.
225229 *
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+ *
226234 * An empty query string value is equivalent to removing the query string.
227235 *
228236 * @param string $query The query string to use with the new instance.
You can’t perform that action at this time.
0 commit comments