From 9bf57ff2a411a3e2ebbe44b3a0c6ce6066d4a3bb Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 14 Apr 2023 18:20:01 +0200 Subject: [PATCH] ipblocklist-functions.pl: Fix regex in downloader Signed-off-by: Stefan Schantl --- config/cfgroot/ipblocklist-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}}; -- 2.39.5