Skip to content

Commit 1530c3f

Browse files
Update Authentication.php
1 parent 03445f2 commit 1530c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/HttpClient/Plugin/Authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function doHandleRequest(RequestInterface $request, callable $next, calla
6969
];
7070

7171
$query .= empty($query) ? '' : '&';
72-
$query .= utf8_encode(http_build_query($parameters, '', '&'));
72+
$query .= utf8_encode(http_build_query($parameters, '', '&', PHP_QUERY_RFC3986));
7373

7474
$uri = $uri->withQuery($query);
7575
$request = $request->withUri($uri);

0 commit comments

Comments
 (0)