X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=tools%2Fprivoxy-log-parser.pl;h=0963993898e05f4447eeb68b996b8398d03d9265;hp=fb220980587dc8f37012e4c440300b07e851cff7;hb=2616e38ac513d1e4fc439fbca1197135f69e186b;hpb=974846c1439708803fe1aa35b18d3efad5b81a3f diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index fb220980..09639938 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -2040,7 +2040,7 @@ sub gather_loglevel_clf_stats($) { $stats{'http-version'}{$http_version}++; if ($cli_options{'host-statistics-threshold'} != 0) { - $resource =~ m@(?:http[s]://)([^/]+)/?@; + $resource =~ m@(?:https?://)?([^/]+)/?@; $stats{'hosts'}{$1}++; } $stats{'content-size-total'} += $size;