Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32526 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58361 invoked by uid 1010); 1 Oct 2007 21:36:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58346 invoked from network); 1 Oct 2007 21:36:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2007 21:36:20 -0000 X-Host-Fingerprint: 84.150.104.32 p54966820.dip.t-dialin.net Date: Mon, 01 Oct 2007 17:36:19 -0400 Received: from [84.150.104.32] ([84.150.104.32:22690] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/76-20520-35861074 for ; Mon, 01 Oct 2007 17:36:19 -0400 Message-ID: <6E.76.20520.35861074@pb1.pair.com> To: internals@lists.php.net User-Agent: pan 0.120 (Plate of Shrimp) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Posted-By: 84.150.104.32 Subject: [PATCH] Proposal for fixing bug #40501 From: dsp@php.net (David Soria Parra) Hi internals, once again a proposal for a bugfix. This time concerning http://bugs.php.net/bug.php?id=40501. As the standard escape character is \\ , but the RFC says ", I added a optional escape character to the function call as a last parameter. Furthermore, when the escape character is the same as the enclosure character (e.g. "), a "" string will be escape, while a single " will be enclosured. the patch and the according updated and added testfiles can be found at http://experimentalworks.net/downloads/bug40501.patch.tar.gz opinions? greets David