<div dir="ltr">Hello,<div><br></div><div>Does anyone have any ideas about this?</div><div><br></div><div>If not it's something I want to try and do before the freeze (any suggestions as to how would be appreciated) as it will be a nice finishing touch to the WebSocket/outbound/stun/auth_ephemeral stuff I've worked on over the last couple of releases.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Peter</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 September 2013 21:36, Peter Dunkley <span dir="ltr"><<a href="mailto:peter.dunkley@crocodilertc.net" target="_blank">peter.dunkley@crocodilertc.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I was wondering if there was an easy way to decode HTTP URLs in event_route[xhttp:request]?</div>
<div><br></div><div>For example, it would be good to be able to breakdown a URL like:</div>
<div>  /sip?apiKey=abcdefg&username=<a href="mailto:1234567890%3Aalice@example.com" target="_blank">1234567890:alice@example.com</a></div><div>into "path/on/server" ("/sip" in this case) and a set of parameters.  For the parameters something like the {param.value,name} transformation for SIP header parameters would be ideal (which works perfectly for picking values out of HTTP Cookie: headers).</div>

<div><br></div><div>I noticed that there is already an {s.urldecode.param} transformation in the PV module but I couldn't find any documentation for it in the wiki and looking at the code it doesn't appear to do this anyway.</div>

<div><br></div><div>Regards,</div><div><br></div><div>Peter</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><div><br></div>-- <br><div dir="ltr"><div><font face="courier new, monospace">Peter Dunkley</font></div>
<div><font face="courier new, monospace">Technical Director</font></div>
<div><font face="courier new, monospace">Crocodile RCS Ltd</font></div></div>
</div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font face="courier new, monospace">Peter Dunkley</font></div><div><font face="courier new, monospace">Technical Director</font></div><div>
<font face="courier new, monospace">Crocodile RCS Ltd</font></div></div>
</div>