Skip to content

Commit 8a68b2e

Browse files
committed
Use RFC3986 for encoding the HTTP query.
1 parent 75219d6 commit 8a68b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parameters/BaseParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ abstract public function getHTTPQuery();
3737
*/
3838
protected function buildHTTPQuery($array)
3939
{
40-
return http_build_query(array_filter($array));
40+
return http_build_query(array_filter($array), '', '&', \PHP_QUERY_RFC3986);
4141
}
4242
}

0 commit comments

Comments
 (0)