Hi,

>> Shouldn't we normalize the host header anyway to maximize cache hit rates ?
> Relevant question in this context:  Do we know how to ?
> Remember that DNS names can contain ideograms in asia these days...

I must say that until now I have more or less ignored details of the IDN
conversion implementations because from a Server/DNS perspective my
understanding is that everything simply ends up in a Host header which uses xn--
encoded parts (apologies for the broad simplification).

My understanding is that IDN complies with rfc3986, so we should not need any
extra treatment.

BUT: Does anyone on this list know IDN details well enough to confirm or 
correct?


Under the assumption that my understanding is correct, I think we could have a
VMOD for IDN conversion, but the Host header should under no circumstances get
converted to unicode.


Nils

-- 

** * * UPLEX - Nils Goroll Systemoptimierung

Schwanenwik 24
22087 Hamburg

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

http://uplex.de/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
varnish-dev mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to