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

Pre-Submission Checklist

Type Of Change

Checklist:

Description

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 ...


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1763

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.