tony2001 Tue Jun 5 11:24:37 2007 UTC
Modified files:
/php-src/main php_content_types.c
Log:
fix HTTP_RAW_POST_DATA in Unicode mode
http://cvs.php.net/viewvc.cgi/php-src/main/php_content_types.c?r1=1.35&r2=1.36&diff_format=u
Index: php-src/main/php_content_types.c
diff -u php-src/main/php_content_types.c:1.35
php-src/main/php_content_types.c:1.36
--- php-src/main/php_content_types.c:1.35 Mon May 28 23:52:13 2007
+++ php-src/main/php_content_types.c Tue Jun 5 11:24:37 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_content_types.c,v 1.35 2007/05/28 23:52:13 iliaa Exp $ */
+/* $Id: php_content_types.c,v 1.36 2007/06/05 11:24:37 tony2001 Exp $ */
#include "php.h"
#include "SAPI.h"
@@ -52,7 +52,7 @@
if ((PG(always_populate_raw_post_data) || NULL ==
SG(request_info).post_entry) && SG(request_info).post_data) {
length = SG(request_info).post_data_length;
data = estrndup(SG(request_info).post_data, length);
- SET_VAR_STRINGL("HTTP_RAW_POST_DATA", data, length);
+ SET_VAR_ASCII_STRINGL("HTTP_RAW_POST_DATA", data,
length);
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php