<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">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">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>