Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50014 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99685 invoked from network); 30 Oct 2010 16:16:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Oct 2010 16:16:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:36455] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/D4-10139-6F44CCC4 for ; Sat, 30 Oct 2010 12:16:55 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id AE8B670003CC; Sat, 30 Oct 2010 17:16:51 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 42vyUK8T63Vs; Sat, 30 Oct 2010 17:16:51 +0100 (WEST) Received: from mail2.ist.utl.pt (mail2.ist.utl.pt [IPv6:2001:690:2100:1::c]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 7343770003C0; Sat, 30 Oct 2010 17:16:51 +0100 (WEST) Received: from cataphract (a79-168-249-157.cpe.netcabo.pt [79.168.249.157]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 60881200706C; Sat, 30 Oct 2010 17:16:51 +0100 (WEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Pierre Joye" Cc: "PHP internals" References: Date: Sat, 30 Oct 2010 17:14:04 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_IST?= Message-ID: In-Reply-To: User-Agent: Opera Mail/10.63 (Win32) Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/standard/file.c branches/PHP_5_3/ext/standard/file.h branches/PHP_5_3/ext/standard/ftp_fopen_wrapper.c branches/PHP_5_3/ext/standard/http_fopen_wrapper.c branch From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") On Sat, 30 Oct 2010 16:56:36 +0100, Pierre Joye wrote: > This directive is documented only to be used with FTP. The documentation was wrong, and has also been fixed. According to the bug report, this directive has been used for http for the last 8 years. > > Yes it would be nice to fully support the HTTP RFC, but not by making > this implementation more ugly. Also new features should go to trunk. > > I suggest to actually fix the reported bug and do the right changes > and additions in trunk. > I repeat, there were no additions here. The only bug in that report was that cfg_get_string was being used to retrieve the value of the ini directive, which is wrong because then PHP doesn't know anything about the directive expect by putting it in the hash table that results from ini parsing. In particular, ini_set cannot then be used to change the value of the directive through the script. In fact, after removing these usages of cfg_get_string, only two usages remain in php-src, both in PDO. Regards -- Gustavo Lopes