[SR-Users] Transformations - urlencode

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 24 09:14:53 CET 2020


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200324/1f733066/attachment-0001.html>


More information about the sr-users mailing list