Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45634 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73580 invoked from network); 23 Sep 2009 20:39:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2009 20:39:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.154 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 72.14.220.154 fg-out-1718.google.com Received: from [72.14.220.154] ([72.14.220.154:10806] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/24-51604-1878ABA4 for ; Wed, 23 Sep 2009 16:39:29 -0400 Received: by fg-out-1718.google.com with SMTP id d23so352217fga.11 for ; Wed, 23 Sep 2009 13:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hE91KTAHsW0p/xp+0PCTUxPsGWc/jpRhPbXNmO1At1k=; b=ZRTQ38VzR6lA59k18+yorRd7MhHr8+dsFdKjPvOQ3OtrNeuTsDfoZhBsKRoY8qp4y8 VpPn+4F+cABiJ3t8KdydiNFnPHa5qTnT/xfs8V0cn39zAdVG+YYIMp5Xd3u3da3cM3F2 s1uCB/2pwL7cRODgRTjxtHVjneDSmpb/8xDJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ABP4dwOxGrVYfmfDySBc9cBo9kmDnLyCYVs08H7VePWwHgmx9FULV0AcX2G1w+gLJ5 XI9uKEF6eKsEE0j+KD57ya0W9+BMnbLlG4tTezVnvMbWhlniW4k5ilxKQO3etoi0Cf9v hR5GnageAHqxZ7Kl/VSiaFLeLuDOSjDX1Hsn0= MIME-Version: 1.0 Received: by 10.86.226.32 with SMTP id y32mr2395535fgg.77.1253738364700; Wed, 23 Sep 2009 13:39:24 -0700 (PDT) In-Reply-To: <20090923163742.GA11140@parawag.net> References: <20090923163742.GA11140@parawag.net> Date: Wed, 23 Sep 2009 22:39:24 +0200 Message-ID: To: Berenyi Mihaly Cc: sterling@php.net, internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [patch] for ext/curl (so you can post fields beginning with '@') From: pierre.php@gmail.com (Pierre Joye) hi, Please provide a patch against trunk and 5.3 (could be added to 5.3.2 later). It will be nice if you can open a bug report as well in http://bugs.php.net so we can keep it in our radar. Thanks for your work! Cheers, On Wed, Sep 23, 2009 at 6:37 PM, Berenyi Mihaly wrote: > hi, > > sorry if i'm sending this to the wrong place, but > here's a patch (of the PHP_5_2 branch) that adds an extra option to curl > (CURLOPT_LITERAL_POSTFIELDS). > it is the exact same thing as CURLOPT_POSTFIELDS, except it skips the > check for leading '@' in the postdata, so you can post without fear or > accidentally uploading a file. > > hope you like it and include it soon. > bye, > =A0 =A0 =A0 =A0mihaly > -- > huf (Berenyi Mihaly) - huf@keszen.hu - http://parawag.net > ...........it's life jim, but not as we know it........... > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Pierre http://blog.thepimp.net | http://www.libgd.org