1.62b: Further refinements to content classifier.
This commit is contained in:
parent
af1a154ac8
commit
3a220b94d2
|
@ -1,4 +1,4 @@
|
|||
Version 1.61b:
|
||||
Version 1.62b:
|
||||
--------------
|
||||
|
||||
- Further refinements to content classifier.
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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 \
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue