From b76350ac36c757d0b06884ca888aed64b5f81588 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Wed, 27 Dec 2023 13:20:28 +0100 Subject: [PATCH 1/2] skip it! --- lib/speed_up.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/speed_up.php b/lib/speed_up.php index f0105ba..1005b02 100644 --- a/lib/speed_up.php +++ b/lib/speed_up.php @@ -186,9 +186,12 @@ public function getOutput() } foreach ($this->urls as $url) { + $parsedUrl = parse_url($url); + if (isset($parsedUrl['scheme']) && !in_array($parsedUrl['scheme'], ['http', 'https'])) { + continue; + } $output .= ''.PHP_EOL; } - return $output; } From 1121a2e6a1f11962758f06743c3c8decdfda3740 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Wed, 27 Dec 2023 13:20:55 +0100 Subject: [PATCH 2/2] Update package.yml --- package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.yml b/package.yml index c091d97..5f23f46 100644 --- a/package.yml +++ b/package.yml @@ -1,5 +1,5 @@ package: speed_up -version: '1.3.1' +version: '1.4.0' author: 'Alexander Walther' supportpage: https://www.alexplus.de