Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48010 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61142 invoked from network); 19 Apr 2010 16:18:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2010 16:18:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=mats.lindh@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mats.lindh@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.219 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mats.lindh@gmail.com X-Host-Fingerprint: 209.85.218.219 mail-bw0-f219.google.com Received: from [209.85.218.219] ([209.85.218.219:35465] helo=mail-bw0-f219.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/2D-10110-E328CCB4 for ; Mon, 19 Apr 2010 12:18:07 -0400 Received: by bwz19 with SMTP id 19so1797bwz.1 for ; Mon, 19 Apr 2010 09:18:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=02Ao0gp6ptmz462euIxU8zqYyJZlCIJ1BSbznqSF4+g=; b=W8IKUzHJv7T/Yn116e70zOeX+Z8uLdg7ShdB4UxZcm577ZXfxA712d1BayqeplQMVB mYmCTTUjQI6nlWrmOLhmp9kurdSEWFcTjYT7Q8JgrFqlPFnLQZsUP4DZLvhCg9NsVeuj jF48Jv2gGz+XWO8D4EXsMY2lo8ew7GzhG5y/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ViRk1lg4w7bmli5CNosJAO8s452EEtiVTmX240OUqnJnD8FSsnpGbCZnsGUYsAH0dI XowFF2X+OqDzTYbB58SSjI5HobzcDl54FvDdhNCEZuJjRRyciZf7waYcvvRsfP+rm7pN YjQ+zBwYI/lXQ2SQD55wXQSfr8jRn9+VwKtxU= MIME-Version: 1.0 Received: by 10.86.95.1 with HTTP; Mon, 19 Apr 2010 09:18:03 -0700 (PDT) Date: Mon, 19 Apr 2010 18:18:03 +0200 Received: by 10.87.2.15 with SMTP id e15mr4368048fgi.23.1271693883659; Mon, 19 Apr 2010 09:18:03 -0700 (PDT) Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Patch for Bug #51344: FILTER_NULL_ON_FAILURE flag automatically set in filter_input() functions. From: mats.lindh@gmail.com (Mats Lindh) Hi, The filter_input function has an errornous check for the FILTER_NULL_ON_FAILURE flag, where it returns NULL if it is NOT set, and not if it is set. I added the patch to the bug tracker over a week ago, but it seems like it has gone unnoticed: http://bugs.php.net/bug.php?id=51344 Would be great if someone could take a quick look and apply the patch if it looks good. Test is also included in the patch. --mats