Browse Source

Shoehorn myself into the credits.

PECL_OPENSSL
Ilia Alshanetsky 19 years ago
parent
commit
c67068b52b
  1. 2
      ext/filter/CREDITS
  2. 4
      ext/filter/filter.c
  3. 6
      ext/filter/package.xml

2
ext/filter/CREDITS

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

4
ext/filter/filter.c

@ -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) {

6
ext/filter/package.xml

@ -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>

Loading…
Cancel
Save