Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38010 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9881 invoked from network); 30 May 2008 10:05:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2008 10:05:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott@macvicar.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=scott@macvicar.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain macvicar.net from 193.227.246.108 cause and error) X-PHP-List-Original-Sender: scott@macvicar.net X-Host-Fingerprint: 193.227.246.108 ip246-108-v193.static.x-ip.net Received: from [193.227.246.108] ([193.227.246.108:38823] helo=lovelace.midden.org.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/76-03918-451DF384 for ; Fri, 30 May 2008 06:05:09 -0400 Received: from office.vbulletin.com ([217.155.246.60] helo=[10.0.0.116]) by lovelace.midden.org.uk with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1K21Tt-0003bw-TT; Fri, 30 May 2008 11:05:06 +0100 Message-ID: <483FD14B.3030702@macvicar.net> Date: Fri, 30 May 2008 11:04:59 +0100 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: RQuadling@GoogleMail.com CC: PHP internals References: <10845a340805300256s6710d4e5i4a9f1ab76a6394e8@mail.gmail.com> In-Reply-To: <10845a340805300256s6710d4e5i4a9f1ab76a6394e8@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: I suppose I should be happy ... From: scott@macvicar.net (Scott MacVicar) Hi Richard, I never even looked for bug reports, I found this while trying to deal with an issue one of our customers reported. I then tracked through the code and read cmd.exe /? After I read what it said it did for quotes, I created a fix and tested it. I guess none of the Windows developers saw the bug report. Scott Richard Quadling wrote: > Hi. > > From the recent daily cvs changelog ... > > +2008-05-29 Scott MacVicar > + > + * (PHP_5_2) > + NEWS > + TSRM/tsrm_win32.c: > + MFH: Fix a bug when command is quoted and parameters are quoted > during call > + to exec, the result is that cmd.exe /c strips the first and last quote. > + > + * (PHP_5_3) > + TSRM/tsrm_win32.c: > + MFH: Fix bug when command is quoted and parameters are quoted during call > + to exec, the result is that cmd.exe /c strips the first and last quote. > + > + * TSRM/tsrm_win32.c: > + Fix bug when command is quoted and parameters are quoted during call to > + exec, the result is that cmd.exe /c strips the first and last quote. > + > > This really should have been tagged with all those bogus-fied bugs. A > patch was supplied in August 2007 and there were many discussions in > the bugs by many users. > > http://bugs.php.net/bug.php?id=34671 > http://bugs.php.net/bug.php?id=35961 > http://bugs.php.net/bug.php?id=25361 > (There may be others.) > > Until now. > > What changed? > > > Can someone please check out #15818, #43784 with the patch at #43261 > > Thanks. >