varnish / libvmod-digest

Digest and HMAC vmod
Other
50 stars 27 forks source link

Don't work digest.base64_decode #17

Closed scdev1025 closed 8 years ago

scdev1025 commented 8 years ago

I've tried to use digest.base64_decode in default.vcl, but not work. set req.http.x-url = digest.base64_decode("dGVzdHVybA=="); But x-url is empty. And when use base64(), it's crashed. Please let me know what I mistake in the code.

rezan commented 8 years ago

Not able to replicate this. What version of Varnish? How did you install it and this vmod?

scdev1025 commented 8 years ago

I've used Varnish 4.1.1 and installed on ubuntu 14.04 using apt-get install, after register the repository of varnish. After install varnish devapi, I was able to install the digest through compiling the source. But the base64 decode doesn't work.

rezan commented 8 years ago

Can you gist your VCL and the varnishlog output for the request?

rezan commented 8 years ago

No way to replicate. Please feel free to re-open.