Skip to content

Commit 91d247d

Browse files
Merge branch '2.7' into 2.8
* 2.7: Clean calls to http_build_query() [HttpFoundation] Fix missing "throw" in JsonResponse Improve the documentation of Suppress warning from sapi_windows_vt100_support on stream other than STDIO removed extra-verbose comments Fixes #26136: Avoid emitting warning in hasParameterOption() Added a README entry to the PR template [HttpFoundation] Add x-zip-compressed to MimeTypeExtensionGuesser. [DI] Add null check for removeChild
2 parents 31ff8f1 + 5ca496b commit 91d247d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function getUri()
209209
parse_str($query, $currentParameters);
210210
}
211211

212-
$queryString = http_build_query(array_merge($currentParameters, $this->getValues()), null, '&');
212+
$queryString = http_build_query(array_merge($currentParameters, $this->getValues()), '', '&');
213213

214214
$pos = strpos($uri, '?');
215215
$base = false === $pos ? $uri : substr($uri, 0, $pos);

0 commit comments

Comments
 (0)