From: Stefan Fritsch Date: Sun, 30 Dec 2012 20:58:39 +0000 (+0000) Subject: remove comment; empty host headers can happen in proxy requests X-Git-Tag: 2.5.0-alpha~5935 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b5fd517b22ef1f3356f21fd1fc261c6546f8442;p=apache remove comment; empty host headers can happen in proxy requests git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426988 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/vhost.c b/server/vhost.c index fca2d331a3..ebce5e9d0e 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -815,10 +815,7 @@ static int fix_hostname(request_rec *r, const char *host_header, src = host_header ? host_header : r->hostname; - /* According to RFC 2616, Host header field CAN be blank. - * XXX But only 'if the requested URI does not include an Internet host - * XXX name'. Can this happen? - */ + /* According to RFC 2616, Host header field CAN be blank */ if (!*src) { return is_v6literal; }