diff options
author | Stanislav Malyshev <stas@php.net> | 2000-06-29 14:50:23 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2000-06-29 14:50:23 +0000 |
commit | a6b31f04cde7d262617d3180c98ace6d2841f6c1 (patch) | |
tree | 3eeb29223f4839f0463e0ec72f6dbab69d3fd72a | |
parent | 740fc2f5dee45ae1cd2f129b41e757ab66aab45d (diff) | |
download | php-git-a6b31f04cde7d262617d3180c98ace6d2841f6c1.tar.gz |
Lowercase class name before checking for it
# I didn't really check it - have no WDDX
-rw-r--r-- | ext/wddx/wddx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 39c26b0faa..577d35a2f6 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -753,6 +753,7 @@ static void php_wddx_pop_element(void *user_data, const char *name) 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(); |