Shoehorn myself into the credits.

This commit is contained in:
Ilia Alshanetsky 2006-10-03 22:18:08 +00:00
parent 557838efa4
commit c67068b52b
3 changed files with 11 additions and 1 deletions

View file

@ -1,2 +1,2 @@
Input Filter
Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye
Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye, Ilia Alshanetsky

View file

@ -533,6 +533,10 @@ static void php_filter_call(zval **filtered, long filter, zval **filter_args, co
if (zend_hash_find(HASH_OF(*filter_args), "flags", sizeof("flags"), (void **)&option) == SUCCESS) {
convert_to_long(*option);
filter_flags = Z_LVAL_PP(option);
if (!(filter_flags & FILTER_REQUIRE_ARRAY || filter_flags & FILTER_FORCE_ARRAY)) {
filter_flags |= FILTER_REQUIRE_SCALAR;
}
}
if (zend_hash_find(HASH_OF(*filter_args), "options", sizeof("options"), (void **)&option) == SUCCESS) {

View file

@ -7,6 +7,12 @@
of filters and mechanisms that users can use to safely access their input data.
</description>
<lead>
<name>Ilia Alshanetsky</name>
<user>iliaa</user>
<email>iliaa@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Pierre-Alain Joye</name>
<user>pajoye</user>