summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nxt_http_request.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c
index 6029c5c0..b7d46c72 100644
--- a/src/nxt_http_request.c
+++ b/src/nxt_http_request.c
@@ -139,7 +139,6 @@ nxt_http_validate_host(nxt_str_t *host, nxt_mp_t *mp)
break;
case '/':
- case '\0':
return NXT_HTTP_BAD_REQUEST;
default: