#24212 [Fbk->NoF]: HTTP_RAW_POST_DATA contains a "doubled" contents
| From: | sniper@php.net | Date: | Thu, 26 Jun 2003 23:21:54 +0000 |
| Subject: | #24212 [Fbk->NoF]: HTTP_RAW_POST_DATA contains a "doubled" contents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42601@lists.php.net to get a copy of this message | ||
ID: 24212
Updated by: sniper@php.net
Reported By: bugs at 50km dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Apache2 related
Operating System: linux redhat 8
PHP Version: 4.3.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-06-17 05:42:50] moriyoshi@php.net
Try the solution mentioned in bug #18648
------------------------------------------------------------------------
[2003-06-16 17:50:47] bugs at 50km dot com
Description:
------------
$GLOBALS["HTTP_RAW_POST_DATA"] or HTTP_RAW_POST_DATA contains a
"doubled" contents. For example:
Client posts:
<?xml
version="1.0"?><methodCall><methodName>sayhello</methodName><params><param><value><string>Duff</string></value></param></params></methodCall>
Apears in $GLOBALS["HTTP_RAW_POST_DATA"] as:
<?xml
version="1.0"?><methodCall><methodName>sayhello</methodName><params><param><value><string>Duff</string></value></param></params></methodCall><?xml
version="1.0"?><methodCall><methodName>sayhello</methodName><params><param><value><string>Duff</string></value></param></params></methodCall>
Looks like it is concatenated to the variable twice.
I haven't played with this using binary data but it may explain what is
messing up file uploads for some people.
I know the recommended way is now to use php://input but a lot of older
code relies on this and it seems to clearly be a bug.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24212&edit=1