Closed scdev1025 closed 8 years ago
Not able to replicate this. What version of Varnish? How did you install it and this vmod?
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.
Can you gist your VCL and the varnishlog output for the request?
No way to replicate. Please feel free to re-open.
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.