Bug #69849 [Ver->Csd]: Broken output of apache_request_headers
| From: | kalle@php.net | Date: | Tue, 16 Jun 2015 14:12:04 +0000 |
| Subject: | Bug #69849 [Ver->Csd]: Broken output of apache_request_headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193567@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69849&edit=1
ID: 69849
Updated by: kalle@php.net
Reported by: kontakt at kukulich dot cz
Summary: Broken output of apache_request_headers
-Status: Verified
+Status: Closed
Type: Bug
Package: *Web Server problem
Operating System: Windows7
PHP Version: 7.0.0alpha1
-Assigned To: cmb
+Assigned To: kalle
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2015-06-16 13:11:14] laruence@php.net
@cmb could you please commit the fix? thanks
------------------------------------------------------------------------
[2015-06-16 13:02:23] cmb@php.net
The "bad characters" are null bytes, btw.
------------------------------------------------------------------------
[2015-06-16 12:59:47] cmb@php.net
I can confirm the issue for php-cgi. It seems the problem is in
<http://lxr.php.net/xref/PHP_TRUNK/sapi/cgi/cgi_main.c#1553>,
where var_len+1 is passed to add_assoc_stringl_ex().
------------------------------------------------------------------------
[2015-06-16 12:51:00] kontakt at kukulich dot cz
Yes, you're right, it's CGI (php-cgi.exe).
------------------------------------------------------------------------
[2015-06-16 12:42:33] laruence@php.net
I don't remember we have apache_request_headers in FPM SAPI... are you meaing cgi?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69849
--
Edit this bug report at https://bugs.php.net/bug.php?id=69849&edit=1