-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
ServerRequest nvalid header value #14150
Comments
it is ok! |
I couldn't reproduce this. According to the code, I tried this: foreach ($arr as $name => $value) {
$serverRequest = $serverRequest->withHeader($name, $value);
}
print_r($serverRequest->getHeaders()); and got everything as expected:
|
hi @zsilbi
Exception
|
DetailsPhalcon version:4.0.0-alpha.5 |
UPD: After building image of @cq-z above with |
So is this related to the gcc version? |
4.0.0-beta.1 is ok ! thanks! |
Fatal error: Uncaught InvalidArgumentException: Invalid header value in phalcon/Http/Message/ServerRequest.zep:753
Stack trace:
#0 [internal function]: Phalcon\Http\Message\ServerRequest->checkHeaderValue(Array)
#1 [internal function]: Phalcon\Http\Message\ServerRequest->getHeaderValue(Array)
#2 xxxxx: Phalcon\Http\Message\ServerRequest->withAddedHeader('connection', 'keep-alive')
#3 {main}
thrown in phalcon/Http/Message/ServerRequest.zep on line 753
php code
Details
php:7.3.4-fpm-alpine3.9
4.0.0-alpha.5
The text was updated successfully, but these errors were encountered: