Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI

From: Date: Mon, 27 Jun 2016 23:47:47 +0000
Subject: Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201878@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60826&edit=1 ID: 60826 Comment by: ravikumar dot nie at gmail dot com Reported by: clarkwise at gmail dot com Summary: raw POST data missing with chunked encoding, FastCGI Status: Not a bug Type: Bug Package: CGI/CLI related Operating System: Windows XP PHP Version: 5.3.9 Assigned To: ab Block user comment: N Private report: N New Comment: Well I am still facing this problem. Any hints to solve this issue. I am using fastcgi and php and trying to read the POST Data sent as transfer-encoding:chunked. Appreciate any help Previous Comments: ------------------------------------------------------------------------ [2012-08-17 08:12:43] ab@php.net at the end of the day, this is not a php bug ------------------------------------------------------------------------ [2012-05-30 21:10:19] dominic dot benson at thirdlight dot com For Apache mod_fcgid, I have a patch available in the bug I filed at https://issues.apache.org/bugzilla/show_bug.cgi?id=53332 Essentially, PHP is following the spec, and not reading beyond the FastCGI CONTENT_LENGTH header value - so correct fixes are necessarily above PHP, in the FastCGI or web server implementation. ------------------------------------------------------------------------ [2012-04-23 14:34:00] andres at fenestrae dot com @florian dot fernandez at navaho dot fr Florian, I'm afraid i cannot help you any further on Linux. The solution is not specific for Windows. What I did to tackle the problem at first is to write a small program that ran instead of php-cgi which copied whatever it received on stdin to an other a mailslot. This output I fed into php-cgi to reproduce an pinpoint the cause. Regards Andre ------------------------------------------------------------------------ [2012-04-23 10:59:25] florian dot fernandez at navaho dot fr Maybe I did something wrong but the patch doesn't seem to work with PHP 5.4.0 on Linux. ------------------------------------------------------------------------ [2012-04-23 08:08:19] florian dot fernandez at navaho dot fr Sorry, I didn't see it before. I'll give it a try with 5.4.0 ------------------------------------------------------------------------ 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=60826 -- Edit this bug report at https://bugs.php.net/bug.php?id=60826&edit=1

« previous php.bugs (#201878) next »