diff options
author | Arno Töll <arno@debian.org> | 2012-11-21 23:04:01 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2012-11-21 23:04:01 +0100 |
commit | 7074704eb0b50f755f30ef21bbeb8fa064e2df5d (patch) | |
tree | b84509f1b2ac0b565b03914c4fd4f907d9d4cefc /src/request.c | |
parent | c0f89a02702b44a811cac511838cbd217ee5dd82 (diff) | |
download | lighttpd-7074704eb0b50f755f30ef21bbeb8fa064e2df5d.tar.gz |
Imported Upstream version 1.4.30upstream/1.4.30
Diffstat (limited to 'src/request.c')
-rw-r--r-- | src/request.c | 2 |
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; } } |