1.59b: Fixed several file POI checks that depended on MIME information.
This commit is contained in:
parent
42d17c7921
commit
512dfe7ea6
|
@ -1,3 +1,8 @@
|
|||
Version 1.59b:
|
||||
--------------
|
||||
|
||||
- Fixed several file POI checks that depended on MIME information.
|
||||
|
||||
Version 1.58b:
|
||||
--------------
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
|
||||
PROGNAME = skipfish
|
||||
VERSION = 1.58b
|
||||
VERSION = 1.59b
|
||||
|
||||
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 \
|
||||
|
|
|
@ -1767,6 +1767,9 @@ void content_checks(struct http_request* req, struct http_response* res) {
|
|||
|
||||
/* CHECK 4: Known exceptions / error pages, etc. */
|
||||
|
||||
detect_mime(req, res);
|
||||
res->sniffed_mime = (u8*)mime_map[res->sniff_mime_id][0];
|
||||
|
||||
check_for_stuff(req, res);
|
||||
|
||||
binary_checks:
|
||||
|
@ -2391,8 +2394,10 @@ static void check_for_stuff(struct http_request* req,
|
|||
x++;
|
||||
}
|
||||
|
||||
if (slashes == 5)
|
||||
if (slashes == 5) {
|
||||
problem(PROB_FILE_POI, req, res, (u8*)"CVS RCS data", req->pivot, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue