[PATCH] Normalizing the Host: header

Nils Goroll nils.goroll at uplex.de
Thu Feb 17 21:55:42 CET 2011

> Do you think this bears relevance for any other header treatment or
> just the Host: header?

Anything which can contain a host name would apply.

Location comes into my mind, but that is a response header which only needs to
get matched and also it will most likely be generated by the backend the varnish
admin has under control.

Of the request headers, Referer is probably matched sometimes.


P.S.: I just noticed that facebook is actually amongst the clients sending
non-normalized Host headers (under the assumption that I can trust the UA).


** * * UPLEX - Nils Goroll Systemoptimierung

Schwanenwik 24
22087 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110217/9359a738/attachment-0003.pgp>

More information about the varnish-dev mailing list