From: Fabian Keil Date: Mon, 18 Jan 2021 00:29:42 +0000 (+0100) Subject: privoxy-log-parser: Properly deal with 'Certificate error' crunches X-Git-Tag: v_3_0_30~106 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=de04886d0723363b1f6a76ed51905a0e6c657091 privoxy-log-parser: Properly deal with 'Certificate error' crunches Previously the error description was highlighted as 'host'. --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 095133ab..02a38cd8 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1422,6 +1422,11 @@ sub handle_loglevel_crunch($) { # [...]&filter... [too long, truncated] $content = highlight_matched_pattern($content, 'request_', '^.*(?=\.\.\. \[too long, truncated\]$)'); + } elsif ($content =~ m/Certificate error:/) { + + # Certificate error: ASN date error, current date after: https://expired.badssl.com/ + $content = highlight_matched_pattern($content, 'request_', 'https://.*'); + } else { # Blocked: http://ads.example.org/