mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Shoehorn myself into the credits.
This commit is contained in:
parent
557838efa4
commit
c67068b52b
3 changed files with 11 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
||||||
Input Filter
|
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) {
|
if (zend_hash_find(HASH_OF(*filter_args), "flags", sizeof("flags"), (void **)&option) == SUCCESS) {
|
||||||
convert_to_long(*option);
|
convert_to_long(*option);
|
||||||
filter_flags = Z_LVAL_PP(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) {
|
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.
|
of filters and mechanisms that users can use to safely access their input data.
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
|
<lead>
|
||||||
|
<name>Ilia Alshanetsky</name>
|
||||||
|
<user>iliaa</user>
|
||||||
|
<email>iliaa@php.net</email>
|
||||||
|
<active>yes</active>
|
||||||
|
</lead>
|
||||||
<lead>
|
<lead>
|
||||||
<name>Pierre-Alain Joye</name>
|
<name>Pierre-Alain Joye</name>
|
||||||
<user>pajoye</user>
|
<user>pajoye</user>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue