Regarding this, I wrote the attached patch that adds a new method
AP_DECLARE(apr_status_t) ap_normalize_hostname(conn_rec *c, const char
**phostname);
to http_vhost.h with some internal rewiring so that request_rec fix_hostname()
and this method have a common base.
sni_fixup_hostname.patch
ISTR that the RFC about SNI forbids port numbers (I find it
unfortunate as a matter of fact, given that host names may contain
ports...).
Just to say that normalization may come with ports handling/relaxing
in several places, which I support!
On Wed, Apr 11, 2018 at 11:52 AM, Plüm, Rüdiger,