Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32124 invoked from network); 5 Nov 2015 13:15:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2015 13:15:00 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.44 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.82.44 mail-wm0-f44.google.com Received: from [74.125.82.44] ([74.125.82.44:32843] helo=mail-wm0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/B0-24765-1565B365 for ; Thu, 05 Nov 2015 08:14:58 -0500 Received: by wmeg8 with SMTP id g8so13891737wme.0 for ; Thu, 05 Nov 2015 05:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=svKQJrHVOCAZIXMjmjnXIcrvdyLIV4roDgKS+ZIOBBw=; b=b4tFHmqAfZg9yOns1oIt85BNv3/4V9CS/wA4p9txqzzzdR8UVk8/igOwcoLtuOPdZu CRW3F2/m0FnerFHNwCb1DJd+Cw00CqRcEY3Aox3JJO99/52U2fVJ0MhDVVOlEVRnFDie ma3igzMU6FyUWE9XmyKRJq1IUdFKEeUVRjCQlFe7IZpoUbaS6FkKZelyqwyejCU+8Ic6 tVnxx9JB+lPACxx2aF96fTWqQwPX/hq11ovkNHrVa4h+RDW0e6WFr0CaWN6LGbSwWInr sSVnK2kvIuQdvQt6My1iU3xrLWk1Ox8a77MchliC1sEQonKr/mewaigVtrFRV02uyInx Eusw== MIME-Version: 1.0 X-Received: by 10.28.21.9 with SMTP id 9mr3812229wmv.22.1446729294944; Thu, 05 Nov 2015 05:14:54 -0800 (PST) Received: by 10.27.200.135 with HTTP; Thu, 5 Nov 2015 05:14:54 -0800 (PST) In-Reply-To: <2499781.S8xp2TXu1I@mcmic-probook> References: <3187501.to7rK1FKUl@mcmic-probook> <58.47.13519.54409365@pb1.pair.com> <2499781.S8xp2TXu1I@mcmic-probook> Date: Thu, 5 Nov 2015 14:14:54 +0100 Message-ID: To: =?UTF-8?Q?C=C3=B4me_Chilliet?= Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a1145a800b61f910523cae906 Subject: Re: [PHP-DEV] Re: Small regression in PHP-LDAP From: tyra3l@gmail.com (Ferenc Kovacs) --001a1145a800b61f910523cae906 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Nov 4, 2015 at 4:28 AM, C=C3=B4me Chilliet wrot= e: > Le mardi 3 novembre 2015, 18:59:42 Andrea Faulds a =C3=A9crit : > > I'd argue this is a regression, documented feature or not. Supporting > > 'host:port' is not a bug, and this has broken existing code, which micr= o > > (x.y.Z) versions are not allowed to do. It should be fixed ASAP. > > So I got two votes against and one for putting host:port back. > > I feel bad about pissing off users that used host:port, but it does seems > safer to require the scheme. > > Detecting the host:port syntax only to show a warning seems tedious. It= =E2=80=99s > like saying to the user =C2=ABI get what you want me to do, but I won=E2= =80=99t do it=C2=BB. > > And the point that it=E2=80=99s already been gone since a few version any= way is > also a good point, people would have a code that works on some versions a= nd > not others, let=E2=80=99s save them the nightmare. > > After reading the reactions on the bug tickets related to this problem, i= t > seems users are understanding the change and adapting without problem, so > I=E2=80=99m for fixing the documentation on this one. Discussing the deta= ils on a > separate email. > > MCMic > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > I would keep the old behavior for 5.6, even if that was unintended nobody complained about it(so removing it isn't a bugfix per se), so I see no reason to break userland code working before in a micro version. for PHP-7.0 we can remove the old undocumented behavior but drop a mention in NEWS/upgrading. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a1145a800b61f910523cae906--