Varnish Variable for Decoded req.http.Authorization

Guillaume Quintard guillaume at varnish-software.com
Thu Oct 20 09:17:45 CEST 2016


Arg, my bad, that was indeed vmod-digest (somehow, my tablet thinks
vmod-var is an acceptable autocorrection for vmod-digest....)

On Oct 20, 2016 06:05, "Kelvin Loke" <kelvin1111111 at gmail.com> wrote:

> 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/54298470/attachment.html>


More information about the varnish-misc mailing list