Apparently, some sites are exposing their varnish version (#2187)

* Apparently, some sites are exposing their varnish version

This can be tested [here](https://en.wikipedia.org/wiki/Erlk%C3%B6nig_(Goethe))

* Simplify the regexp, since it's a `search` and not a `match`
main
jvoisin 7 years ago committed by Elbert Alias
parent d95a3c3afb
commit f327408b43

@ -10303,7 +10303,7 @@
23 23
], ],
"headers": { "headers": {
"Via": ".*Varnish", "Via": "varnish(?: \\(Varnish/([\\d.]+)\\))?\\;version:\\1",
"X-Varnish": "", "X-Varnish": "",
"X-Varnish-Action": "", "X-Varnish-Action": "",
"X-Varnish-Age": "", "X-Varnish-Age": "",

Loading…
Cancel
Save