similar to http_connect for http/post, however the data parameter is not PV parsed
this way json and any other content can be used without any escaping
doc/
subfolder, the README file is autogenerated)I have ran into the issue, where a dollar sign was present in the data :
https://lists.kamailio.org/pipermail/sr-dev/2009-March/000898.html
Try to replace $ with $$ inside the $var(data), something like:
$var(m) = "$";
$var(r) = "$$";
$var(newdata) = $(var(data){s.replace,$var(m),$var(r)});
This fix is working, but I thought others could fell into this pitfall and have builtin way to send raw data over http could be best.
By adding a module command to send http_connect_raw()
I wonder if this should be called something else ...
https://github.com/kamailio/kamailio/pull/1763
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.