Bug #64584 [NEW]: Content-length is correct, but data truncated in php://input
| From: | viraj dot kanwade at snstech dot com | Date: | Thu, 04 Apr 2013 17:12:24 +0000 |
| Subject: | Bug #64584 [NEW]: Content-length is correct, but data truncated in php://input | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-178296@lists.php.net to get a copy of this message | ||
From: viraj dot kanwade at snstech dot com
Operating system: Centos
PHP version: 5.3.23
Package: HTTP related
Bug Type: Bug
Bug description:Content-length is correct, but data truncated in php://input
Description:
------------
We use PHP 5.3.14
Sometimes ajax post to a PHP page, results in $_SERVER content-length to be
set
correctly, but the $_POST does not have all data. I have also tested
php://input
to see if the data was received. But the data was truncated. This is NOT a
file
upload.
The data could be of 1000-5000 chars. But only 400-600 chars are received.
This is intermittent.
Could be similar to https://bugs.php.net/bug.php?id=22427
Expected result:
----------------
The post values submitted by ajax request should be available in $_POST.
Actual result:
--------------
The post value is truncated.
--
Edit bug report at https://bugs.php.net/bug.php?id=64584&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64584&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64584&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64584&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64584&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64584&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64584&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64584&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64584&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64584&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64584&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64584&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64584&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64584&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64584&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64584&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64584&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64584&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64584&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64584&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64584&r=mysqlcfg