Skip to content
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

404 with ':' #12305

Closed
DeathKR opened this issue Oct 11, 2016 · 1 comment
Closed

404 with ':' #12305

DeathKR opened this issue Oct 11, 2016 · 1 comment

Comments

@DeathKR
Copy link

DeathKR commented Oct 11, 2016

Expected and Actual Behavior

There is a mistake in phalcon/http/response/headers.zep in send() function.
It's always add ':' at the end of main HTTP header:

HTTP/1.1 404 Not Found:

Provide minimal script to reproduce the issue

$response->setStatusCode(404);
$response->setRawHeader("HTTP/1.1 404 Not Found");

Details

  • Phalcon version: 3.0.1
  • PHP Version: PHP 7.0.11-1~dotdeb+8.1
  • Operating System: Debian 8.6
  • Installation type: from source
  • Zephir version (if any): Version 0.9.4a-dev-7e304ba18c
  • Server: Nginx
@sergeyklay
Copy link
Contributor

Fixed in the 3.0.x branch.

Refs: #12179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants