Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44125 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8224 invoked from network); 2 Jun 2009 20:19:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2009 20:19:23 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 209.85.216.187 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 209.85.216.187 mail-px0-f187.google.com Received: from [209.85.216.187] ([209.85.216.187:53822] helo=mail-px0-f187.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/FA-01606-949852A4 for ; Tue, 02 Jun 2009 16:19:23 -0400 Received: by pxi17 with SMTP id 17so1697620pxi.29 for ; Tue, 02 Jun 2009 13:19:19 -0700 (PDT) Received: by 10.142.105.10 with SMTP id d10mr57351wfc.159.1243973959380; Tue, 02 Jun 2009 13:19:19 -0700 (PDT) Received: from barley.local (64-71-7-198.static.wiline.com [64.71.7.198]) by mx.google.com with ESMTPS id 22sm2423244wfg.7.2009.06.02.13.19.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 13:19:17 -0700 (PDT) Message-ID: <4A258942.6010900@gravitonic.com> Date: Tue, 02 Jun 2009 13:19:14 -0700 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: PHP internals References: <4A245810.20503@gravitonic.com> In-Reply-To: <4A245810.20503@gravitonic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ext/filter and rfc1867 problem From: andrei@gravitonic.com (Andrei Zmievski) 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