summaryrefslogtreecommitdiffstats
path: root/server/vhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/vhost.c')
-rw-r--r--server/vhost.c5
1 files changed, 1 insertions, 4 deletions
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;
}