[Privoxy-commits] [privoxy] 06/26: privoxy-log-parser: Properly deal with 'Certificate error' crunches

User Git git at git.privoxy.org
Mon Jan 18 13:32:14 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit de04886d0723363b1f6a76ed51905a0e6c657091
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 18 01:29:42 2021 +0100

    privoxy-log-parser: Properly deal with 'Certificate error' crunches
    
    Previously the error description was highlighted as 'host'.
---
 tools/privoxy-log-parser.pl | 5 +++++
 1 file changed, 5 insertions(+)

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/

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list