We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b64e65f commit bb95905Copy full SHA for bb95905
src/Query.php
@@ -183,6 +183,7 @@ public static function merge(string $uri, array $query):string{
183
* @link https://github.com/guzzle/psr7/blob/c0dcda9f54d145bd4d062a6d15f54931a67732f9/src/Query.php#L9-L57
184
*/
185
public static function parse(string $querystring, int $urlEncoding = null):array{
186
+ $querystring = trim($querystring, '?'); // handle leftover question marks (e.g. Twitter API "next_results")
187
188
if($querystring === ''){
189
return [];
0 commit comments