mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Shoehorn myself into the credits.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Input Filter
|
||||
Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye
|
||||
Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye, Ilia Alshanetsky
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user