Re: ext/filter and rfc1867 problem

From: Date: Tue, 02 Jun 2009 20:19:14 +0000
Subject: Re: ext/filter and rfc1867 problem
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-44125@lists.php.net to get a copy of this message
Does anyone have any idea what I'm talking about here? Derick? Rasmus? Pierre? Bueller? Andrei Zmievski wrote:
I ran into an issue today that seems to be a genuine bug. In rfc1867.c there is code like this: if (sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len TSRMLS_CC)) {
     /* register the variable */
} The sapi_module.input_filter points to php_sapi_filter(). That return value of that function is based on "retval" variable which defaults to 0 at the top of the function and is set to 1 only when arg is PARSE_STRING. The end result is that it returns 0 and rfc1867 handler never registers the variable. Am I totally missing something or is this a real bug? -Andrei


« previous php.internals (#44125) next »