From: Stefan Schantl Date: Fri, 14 Apr 2023 16:20:01 +0000 (+0200) Subject: ipblocklist-functions.pl: Fix regex in downloader X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=406ea09fedf53a1d2d3e06f72c053558d44710a6;p=people%2Fstevee%2Fipfire-2.x.git ipblocklist-functions.pl: Fix regex in downloader Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/ipblocklist-functions.pl b/config/cfgroot/ipblocklist-functions.pl index 28843c8008..251d34865b 100644 --- a/config/cfgroot/ipblocklist-functions.pl +++ b/config/cfgroot/ipblocklist-functions.pl @@ -160,7 +160,7 @@ sub download_blocklist ($) { # Convert the response into an array to allow # processing the items. - my @blocklist = split(/[\r\n]/, $response); + my @blocklist = split(/[\r\n]+/, $response); # Get the responsible parser for the current list. my $parser = $parsers{$IPblocklist::List::sources{$list}{'parser'}};