[Privoxy-commits] [privoxy] 10/11: privoxy-log-parser: Highlight 'Rewritten request line results in downgrade to http'
User Git
git at git.privoxy.org
Sat Jan 2 12:55:56 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 e6d86c5315c2f0e6bbf9b6e9cf496f72dc0660af
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Fri Jan 1 12:19:33 2021 +0100
privoxy-log-parser: Highlight 'Rewritten request line results in downgrade to http'
---
tools/privoxy-log-parser.pl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 7623100b..9ef389d8 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -179,6 +179,7 @@ sub prepare_our_stuff() {
'pcrs-delimiter' => 'light_red',
'ignored' => 'light_red',
'action-bits-update' => 'light_red',
+ 'http-downgrade' => 'light_red',
'configuration-line' => 'red',
'content-type' => 'yellow',
'HOST' => HEADER_DEFAULT_COLOUR,
@@ -1311,6 +1312,11 @@ sub handle_loglevel_redirect($) {
# Rewrite detected: GET https://www.electrobsd.org/CommonJS/ajax/libs/jquery/3.4.1/jquery.min.js HTTP/1.1
$c = highlight_matched_request_line($c, '(?<=^Rewrite detected: ).*');
+ } elsif ($c =~ m/^Rewritten request line results in downgrade to http/) {
+
+ # Rewritten request line results in downgrade to http
+ $c =~ s@(downgrade)@$h{'http-downgrade'}$1$h{'Standard'}@;
+
} else {
found_unknown_content($c);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list