Re: Re: Small regression in PHP-LDAP

From: Date: Wed, 04 Nov 2015 03:28:20 +0000
Subject: Re: Re: Small regression in PHP-LDAP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-89064@lists.php.net to get a copy of this message
Le mardi 3 novembre 2015, 18:59:42 Andrea Faulds a écrit : > 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 micro > (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’s like saying to the user «I get what you want me to do, but I won’t do it». And the point that it’s already been gone since a few version anyway is also a good point, people would have a code that works on some versions and not others, let’s save them the nightmare. After reading the reactions on the bug tickets related to this problem, it seems users are understanding the change and adapting without problem, so I’m for fixing the documentation on this one. Discussing the details on a separate email. MCMic

« previous php.internals (#89064) next »