projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3402421
)
Accept and highlight: Percent-encoding redirect URL: http://www.example.org/\x02
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Nov 2011 12:56:42 +0000
(12:56 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Nov 2011 12:56:42 +0000
(12:56 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
8403602
..
c33f79c
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-8,7
+8,7
@@
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
-# $Id: privoxy-log-parser.pl,v 1.12
1 2011/08/18 11:41:18
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.12
2 2011/11/12 12:55:46
fabiankeil Exp $
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
@@
-1267,6
+1267,11
@@
sub handle_loglevel_redirect ($) {
# XXX: assume the same?
$c = highlight_matched_url($c, '(?<=assuming that \")[^"]*');
# XXX: assume the same?
$c = highlight_matched_url($c, '(?<=assuming that \")[^"]*');
+ } elsif ($c =~ m/^Percent-encoding redirect/) {
+
+ # Percent-encoding redirect URL: http://www.example.org/\x02
+ $c = highlight_matched_url($c, '(?<=redirect URL: ).*');
+
} else {
found_unknown_content($c);
} else {
found_unknown_content($c);