ID:               24212
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bugs at 50km dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: linux redhat 8
 PHP Version:      4.3.2
 New Comment:

Try the solution mentioned in bug #18648




Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to