[asterisk-dev] [Code Review] fix so func_curl hashcompat can handle comma's in keys/values

wdoekes reviewboard at asterisk.org
Tue Sep 13 10:22:43 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1433/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

CURLOPT(hashcompat) can return the abc=def&ghi=jkl values from a curl requests as an associative ${HASH}.

It breaks on comma's.

This small fix is copied directly from func_realtime.

(Forget diff1, some other stuff got included.)


Diffs
-----

  branches/1.8/funcs/func_curl.c 335557 

Diff: https://reviewboard.asterisk.org/r/1433/diff


Testing
-------

Tested on 1.6.2. Should work on 1.8 and trunk too.


Thanks,

wdoekes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110913/bfe7551f/attachment.htm>


More information about the asterisk-dev mailing list