[sr-dev] [kamailio/kamailio] xavp_serialize_fields : adding an equal sign on empty strings (#2067)

Julien Chavanton notifications at github.com
Wed Sep 18 19:57:28 CEST 2019


I noticed the problem when trying ot use :
xavp_params_implode followed by xavp_params_explode no luck with that because
xavp_params_explode will fail to parse emtpy params.

Example:
`$xavp(x[0]=>y) = "";`

Will fail to parse because `y=;` is consider invalid by the param parser.

Glad to see that the core was exposing a reusable serialize function !

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2067
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190918/5bf88b70/attachment.html>


More information about the sr-dev mailing list