Bug #69849 [Ver]: Broken output of apache_request_headers
| From: | laruence@php.net | Date: | Tue, 16 Jun 2015 13:11:15 +0000 |
| Subject: | Bug #69849 [Ver]: Broken output of apache_request_headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193566@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: laruence@php.net
Reported by: kontakt at kukulich dot cz
Summary: Broken output of apache_request_headers
Status: Verified
Type: Bug
Package: *Web Server problem
Operating System: Windows7
PHP Version: 7.0.0alpha1
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
@cmb could you please commit the fix? thanks
Previous Comments:
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
[2015-06-16 11:24:21] kontakt at kukulich dot cz
Nginx/1.9.1 + PHP-FPM
------------------------------------------------------------------------
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