summaryrefslogtreecommitdiff
path: root/src/request.c
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2012-11-21 23:04:01 +0100
committerArno Töll <arno@debian.org>2012-11-21 23:04:01 +0100
commit7074704eb0b50f755f30ef21bbeb8fa064e2df5d (patch)
treeb84509f1b2ac0b565b03914c4fd4f907d9d4cefc /src/request.c
parentc0f89a02702b44a811cac511838cbd217ee5dd82 (diff)
downloadlighttpd-7074704eb0b50f755f30ef21bbeb8fa064e2df5d.tar.gz
Imported Upstream version 1.4.30upstream/1.4.30
Diffstat (limited to 'src/request.c')
-rw-r--r--src/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/request.c b/src/request.c
index 5879efe..a48bf48 100644
--- a/src/request.c
+++ b/src/request.c
@@ -49,7 +49,7 @@ static int request_check_hostname(server *srv, connection *con, buffer *host) {
if (++colon_cnt > 7) {
return -1;
}
- } else if (!light_isxdigit(*c)) {
+ } else if (!light_isxdigit(*c) && '.' != *c) {
return -1;
}
}