From 406ea09fedf53a1d2d3e06f72c053558d44710a6 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 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'}}; -- 2.39.5