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=9bf57ff2a411a3e2ebbe44b3a0c6ce6066d4a3bb;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 28843c800..251d34865 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'}};