Re: [patch] for ext/curl (so you can post fields beginning with '@')
| From: | Pierre Joye | Date: | Wed, 23 Sep 2009 20:39:24 +0000 |
| Subject: | Re: [patch] for ext/curl (so you can post fields beginning with '@') | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45634@lists.php.net to get a copy of this message | ||
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 <huf@parawag.net> 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,
> mihaly
> --
> 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
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org