cvs: php4 /ext/wddx wddx.c
| From: | Stanislav Malyshev | Date: | Thu, 29 Jun 2000 14:50:23 +0000 |
| Subject: | cvs: php4 /ext/wddx wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-550@lists.php.net to get a copy of this message | ||
stas Thu Jun 29 07:50:23 2000 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
Lowercase class name before checking for it
# I didn't really check it - have no WDDX
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.49 php4/ext/wddx/wddx.c:1.50
--- php4/ext/wddx/wddx.c:1.49 Fri Jun 23 16:13:35 2000
+++ php4/ext/wddx/wddx.c Thu Jun 29 07:50:23 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.49 2000/06/23 23:13:35 zeev Exp $ */
+/* $Id: wddx.c,v 1.50 2000/06/29 14:50:23 stas Exp $ */
#include "php.h"
#include "php_wddx.h"
@@ -753,6 +753,7 @@
ent1->data->type == IS_STRING && ent1->data->value.str.len) {
zend_bool incomplete_class = 0;
+ zend_str_tolower(ent1->data->value.str.val,ent1->data->value.str.len);
if (zend_hash_find(EG(class_table), ent1->data->value.str.val,
ent1->data->value.str.len+1, (void **) &ce)==FAILURE) {
BLS_FETCH();