1.62b: Further refinements to content classifier.

This commit is contained in:
Steve Pinkham 2010-08-30 20:43:10 -04:00
parent af1a154ac8
commit 3a220b94d2
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Version 1.61b:
Version 1.62b:
--------------
- Further refinements to content classifier.

View File

@ -20,7 +20,7 @@
#
PROGNAME = skipfish
VERSION = 1.61b
VERSION = 1.62b
OBJFILES = http_client.c database.c crawler.c analysis.c report.c
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \

View File

@ -2348,7 +2348,7 @@ static void check_for_stuff(struct http_request* req,
while (*x && (isalnum(*x) || strchr("._-+$", *x)) &&
(x - sniffbuf) < 64) x++;
if (x != sniffbuf && *x == ':') {
if (x != sniffbuf && *x == ':' && x[1] != '/' && x[1] != '.') {
x++;
while (*x && (isalnum(*x) || strchr("./*!+=$", *x)) &&
(x - sniffbuf) < 128) x++;