Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58953 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50239 invoked from network); 15 Mar 2012 07:01:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2012 07:01:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.213.42 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:49599] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/F1-40094-DA3916F4 for ; Thu, 15 Mar 2012 02:01:02 -0500 Received: by yhfq11 with SMTP id q11so3282735yhf.29 for ; Thu, 15 Mar 2012 00:00:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=TPw/QyqkgiPzG2KM61LS6RtIUtAzSUvDa1Yz+m6OU6U=; b=jEy02KVXAOv71NOcaLKXJG4o7vFqwfYVrXTALdlhHNN5vG1OfX5tlGzPSEXejr/wzv ftUikIolT7N0cmPOfcVZrdBidOvHs7HTfI1K1qZyULX6I5xTMOqaJ5N+XRpD/VTdRij4 AGOljxT6B0wkx7Booo624RE/4tKSGzw7N/vyXXPuYWErydxZqgx+QfYsMpwMpPgQyXF+ hYbfEwraV52weGbnXN8mNIrHZ2H6sbgkLdoGUW6v8UOtwqsdvZtT3Mb5Cc62Gm8KNxF0 3ZuiYkz8kI+71Az3Q5/JTykaUDxnIERzBwISkLQ6JFe+d7z6WcwbbrEC6NFGkPw/Lrsl cTtg== Received: by 10.224.110.209 with SMTP id o17mr6542043qap.2.1331794858788; Thu, 15 Mar 2012 00:00:58 -0700 (PDT) Received: from [192.168.200.5] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id ef6sm2755721qab.7.2012.03.15.00.00.57 (version=SSLv3 cipher=OTHER); Thu, 15 Mar 2012 00:00:57 -0700 (PDT) Message-ID: <4F6193A8.2040803@lerdorf.com> Date: Thu, 15 Mar 2012 00:00:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Ryan McCue CC: internals@lists.php.net References: <4F60F4B1.5010407@lerdorf.com> <4F611045.8040404@rotorised.com> In-Reply-To: <4F611045.8040404@rotorised.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQni5rC8IPguJvH0Y7mgRBV+CJGltjzw+q3f2SIdVhquFxfqhwC8k8i2zvQFO3i45oY5FFdt Subject: Re: [PHP-DEV] Let parse_str() parse more than max_input_vars args From: rasmus@lerdorf.com (Rasmus Lerdorf) On 03/14/2012 02:40 PM, Ryan McCue wrote: > Rasmus Lerdorf wrote: >> The other way to solve this would be to make max_input_vars PHP_INI_ALL >> and then just let people ini_set() their way around the limit. > > That's probably going to confuse people if it doesn't change the HTTP > request parsing limit too, IMHO. And I'm not sure that's something we > necessarily want. I think that is a documentation issue. We already have plenty of confusion here because it isn't documented that parse_str() is affected by the max_input_vars setting. There is no perfect solution to this one. We need the least destabilizing fix for the inadvertent breakage we caused in 5.3. I think we were all under the impression that it was really unlikely that a default limit of 1000 input vars would cause a problem, and even in the rare case where it did, people could increase it. What we didn't take into account was that there were backend pieces affected by this frontend restriction and we didn't provide a way to decouple the two. Making max_input_vars PHP_INI_ALL is the least intrusive way to remedy this in the stable 5.3.x tree. -Rasmus