We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Url::fromHttp()
Url::fromHttp() rely on the $_SERVER superglobal variable to provide request information.
$_SERVER
It should either receive the provider array as part of the arguments or rely on the filter_input_array(INPUT_SERVER) as being authoritative.
filter_input_array(INPUT_SERVER)
Perhaps, change signature to
function fromHttp(array $overrides = [], $trust_x_forwarded_headers = true, array $src = []) { $src = $src ?: \filter_input_array(INPUT_SERVER); //… }
The text was updated successfully, but these errors were encountered:
AnrDaemon
No branches or pull requests
Url::fromHttp()
rely on the$_SERVER
superglobal variable to provide request information.It should either receive the provider array as part of the arguments or rely on the
filter_input_array(INPUT_SERVER)
as being authoritative.Perhaps, change signature to
The text was updated successfully, but these errors were encountered: