<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I just added basic info about them:</p>
<p> * <a
href="https://www.kamailio.org/wiki/cookbooks/devel/transformations#surlencodeparam">https://www.kamailio.org/wiki/cookbooks/devel/transformations#surlencodeparam</a></p>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">You can add examples and more docs --
that would be appreciated.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Cheers,<br>
Daniel</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 24.03.20 09:14, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite"
cite="mid:78a39464-1681-ae16-3d1c-c021d502d5dd@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hello,</p>
<p>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.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 23.03.20 20:54, João Vitor Arruda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABQ6UzVO+FhJSBoPVSnVpvGhmZLnDkgETje5PzMUwVWM1bZ=nw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I was looking in the transformation documentation (<a
href="https://www.kamailio.org/wiki/cookbooks/devel/transformations"
moz-do-not-send="true">https://www.kamailio.org/wiki/cookbooks/devel/transformations</a>)
something to URL encode a pv or var for use in a HTTP query
but was not able to find it.</div>
<div><br>
</div>
<div>Digging a bit in the source code I found that
"s.urlencode.param" actually exists and from my initial
tests it works just fine.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Joao Arruda</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>