Varnish Variable for Decoded req.http.Authorization

Kelvin Loke kelvin1111111 at gmail.com
Thu Oct 20 06:05:33 CEST 2016


>
> Hi Kelvin,
>
> It's actually  pretty simple to do: use a regex to get the second word,
> then use vmod-var to decode the token.
>
I did check vmod-var, I couldn't find any usage/manual about the base64
decode function. Do you mean the libvmod-digest?

Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20161020/13713ba9/attachment.html>


More information about the varnish-misc mailing list