diff --git a/ChangeLog b/ChangeLog index 5238fe6..5869c0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Version 1.78b: +-------------- + + - Fix to -J logic. + Version 1.77b: -------------- diff --git a/Makefile b/Makefile index 1322430..37b23c4 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ # PROGNAME = skipfish -VERSION = 1.77b +VERSION = 1.78b 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 \ diff --git a/analysis.c b/analysis.c index 01d0e62..20869fb 100644 --- a/analysis.c +++ b/analysis.c @@ -1789,7 +1789,7 @@ binary_checks: if ((tmp = GET_HDR((u8*)"Content-Disposition", &res->hdr)) && inl_strcasestr(tmp, (u8*)"attachment")) return; - if (relaxed_mime) { + if (!relaxed_mime) { /* CHECK 5A: Renderable documents that are not CSS or static JS are of particular interest when it comes to MIME / charset mistakes. */ @@ -2023,10 +2023,12 @@ static void detect_mime(struct http_request* req, struct http_response* res) { inl_strcasestr(sniffbuf, (u8*)"") || inl_strcasestr(sniffbuf, (u8*)"href=")) { res->sniff_mime_id = MIME_ASC_HTML; return;