Hello,

the s.urlencode.param/s.urldecode.param transformations should be good
to use, likely they were forgotten to be added in the wiki -- the code
for them was a contribution merged like 7 years ago.

Cheers,
Daniel

On 23.03.20 20:54, João Vitor Arruda wrote:
> Hello,
>
> I was looking in the transformation documentation
> (https://www.kamailio.org/wiki/cookbooks/devel/transformations)
> something to URL encode a pv or var for use in a HTTP query but was
> not able to find it.
>
> Digging a bit in the source code I found that "s.urlencode.param"
> actually exists and from my initial tests it works just fine.
>
> I'm wondering if there is any reason why this is not mentioned in the
> documentation of if it should not be used at all.
>
> Thanks,
> Joao Arruda
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to