<p dir="ltr">Arg, my bad, that was indeed vmod-digest (somehow, my tablet thinks vmod-var is an acceptable autocorrection for vmod-digest....)</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Oct 20, 2016 06:05, "Kelvin Loke" <<a href="mailto:kelvin1111111@gmail.com">kelvin1111111@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="m_-3221152097678596781gmail_msg">Hi Kelvin,</p>
<p dir="ltr" class="m_-3221152097678596781gmail_msg">It's actually  pretty simple to do: use a regex to get the second word, then use vmod-var to decode the token.</p></blockquote><div>I did check vmod-var, I couldn't find any usage/manual about the base64 decode function. Do you mean the libvmod-digest?</div><div><br></div><div>Cheers.</div></div></div>
</blockquote></div></div>