cvs: php4 /ext/mbstring mbstring.c
| From: | Rui Hirokawa | Date: | Wed, 02 May 2001 13:24:27 +0000 |
| Subject: | cvs: php4 /ext/mbstring mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5454@lists.php.net to get a copy of this message | ||
hirokawa Wed May 2 06:24:27 2001 EDT
Modified files:
/php4/ext/mbstring mbstring.c
Log:
clear http input encoding detection result in RSHUTDOWN.
Index: php4/ext/mbstring/mbstring.c
diff -u php4/ext/mbstring/mbstring.c:1.4 php4/ext/mbstring/mbstring.c:1.5
--- php4/ext/mbstring/mbstring.c:1.4 Tue May 1 16:44:20 2001
+++ php4/ext/mbstring/mbstring.c Wed May 2 06:24:26 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.4 2001/05/01 23:44:20 hirokawa Exp $ */
+/* $Id: mbstring.c,v 1.5 2001/05/02 13:24:26 hirokawa Exp $ */
/*
* PHP4 Multibyte String module "mbstring" (currently only for Japanese)
@@ -482,6 +482,12 @@
mbfl_buffer_converter_delete(MBSTRG(outconv));
MBSTRG(outconv) = NULL;
}
+
+ MBSTRG(http_input_identify) = mbfl_no_encoding_invalid;
+ MBSTRG(http_input_identify_post) = mbfl_no_encoding_invalid;
+ MBSTRG(http_input_identify_get) = mbfl_no_encoding_invalid;
+ MBSTRG(http_input_identify_cookie) = mbfl_no_encoding_invalid;
+ MBSTRG(http_input_identify_string) = mbfl_no_encoding_invalid;
return SUCCESS;
}