ext/filter and rfc1867 problem

From: Date: Mon, 01 Jun 2009 22:37:04 +0000
Subject: ext/filter and rfc1867 problem
Groups: php.internals 
Request: Send a blank email to internals+get-44117@lists.php.net to get a copy of this message
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 (#44117) next »