When $_SERVER['QUERY_STRING'] is override at parseRequestURI.
# system/HTTP/IncomingRequest.phpif (trim($uri, '/') ===''&&strncmp($query, '/', 1) ===0)
{
$query=explode('?', $query, 2);
$uri=$query[0];
$_SERVER['QUERY_STRING'] =$query[1] ?? '';
}
else
{
$_SERVER['QUERY_STRING'] =$query;
}Then $_SERVER['QUERY_STRING'] returns new value but $request->getServer('QUERY_STRING') returns old value.
Is this the correct behavior?
When
$_SERVER['QUERY_STRING']is override atparseRequestURI.Then
$_SERVER['QUERY_STRING']returns new value but$request->getServer('QUERY_STRING')returns old value.Is this the correct behavior?