Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21804 invoked from network); 19 Nov 2013 12:46:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2013 12:46:09 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:40430] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/21-15197-09D5B825 for ; Tue, 19 Nov 2013 07:46:08 -0500 Received: by mail-la0-f50.google.com with SMTP id el20so6123124lab.9 for ; Tue, 19 Nov 2013 04:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:openpgp:content-type; bh=0woS2kojfBAnD2t5fiygpfdXX8dmNZ/OdQMTBsMUHOA=; b=zZg6/LkiDUiGaUg6pxMZQCtwvu/ZT+0ucBnfAlYidXCkajA2dm6zdW8ND631cfpDbO m75gjoHRnBldScFE3natFDXPPhXzUF35Jq6hMX4VLtP+52ODYy/80M+wOo9Ii3qtDjr9 hbpNiEufsPWjaqkcxNYNnB0bbEJzPEtqBdYVV0zv6IWWAFJsthdPBXiUPTelNLESjIi4 KUMl+sNb4WOeO8zz3im5mN631Y5nO9J60dSxnaa0gcU7vrWjfdMNJSJJYaQmyw0HkRxJ 3jaa7V0IGHD1kQXVfccpVos8Pp1E8ocywjHY3v/TZsGJnfWRB14wKlhGcLUx0WwtoVEJ Tndw== X-Received: by 10.112.159.231 with SMTP id xf7mr17584745lbb.18.1384865165341; Tue, 19 Nov 2013 04:46:05 -0800 (PST) Received: from Gearder.local ([92.255.5.146]) by mx.google.com with ESMTPSA id xc10sm15756224lbb.6.2013.11.19.04.46.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 04:46:03 -0800 (PST) Message-ID: <528B5D81.7020506@gmail.com> Date: Tue, 19 Nov 2013 16:45:53 +0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Arvids Godjuks , PHP internals References: <528B3C03.5090804@gmail.com> <528B5221.5050502@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=1D219F11 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aji3rsMEghl2gWBkM9jmiFWBSqQjBADtw" Subject: Re: [PHP-DEV] [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) From: indeyets@gmail.com (Alexey Zakhlestin) --aji3rsMEghl2gWBkM9jmiFWBSqQjBADtw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 19.11.13, 16:32, Arvids Godjuks wrote: > My take on it is just to leave the always_populate_raw_post_data in pla= ce, > because it is Off by default already. That's not enough. As far as I understand, even when this option is set to "Off", HTTP_RAW_POST_DATA would be populated for unknown mime-types see http://docs.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-d= ata > Modify the docs to reflect that instead of activating the > HTTP_RAW_POST_DATA they should read the php://input stream. Make it cle= ar > that it is deprecated as of 5.6 and with next major release it will be > removed. +1 > Maybe a deprecation warning could be displayed as a startup error, just= > like the timezone warnings? So that the scripts themselves are not > affected, but you see a clear warning when launching PHP (I've fixed my= > timezones immediately when got the warning) +1 --=20 Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc --aji3rsMEghl2gWBkM9jmiFWBSqQjBADtw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEbBAEBCgAGBQJSi12KAAoJEMkJcRxZdR27SbEH9jWmESW9yTGevhO7uN5Ove/l 3x1R26DnYm+whYp9WDYdWexweri2YhIPLOJ6T0h8fNjogpZpyT55grv3yNflBT5z wVD47PkVvfMUpFccGPKpdyTmXuarAfLw9fZ9SXX2F+Us28Zp7cKH8N5gPZ4CnnkY 6bcPLk/eLfuO8PYuJLNyrE7bOONBckec8eaijs9+Jx0jDdcKTLDJOMeUmiNAQOhj m5Cd7MtY6VkecsRBENY4d0RyhGwlh9EFQUMYynrYUlizbuEetaFcmpRwJwBLWgFV qFdkYhG+mGoKXlvuE9X1lOLUGZtINki43GisWwzq9JJyRFOtOKJ1qZgCNgrmqw== =ZCpz -----END PGP SIGNATURE----- --aji3rsMEghl2gWBkM9jmiFWBSqQjBADtw--