From fc8fb1449c29f4bc6056ed7d63b1fe904cf59051 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Fri, 8 Mar 2024 02:09:04 +0100 Subject: [PATCH] Fix pack bundle scheme env variable usage --- Parser/TokenParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/TokenParser.php b/Parser/TokenParser.php index 7c3ad41..0ca3e30 100644 --- a/Parser/TokenParser.php +++ b/Parser/TokenParser.php @@ -143,7 +143,7 @@ class TokenParser extends AbstractTokenParser { //Deal with generic url if (strpos($inputs[$k], '//') === 0) { //Fix url - $inputs[$k] = ($_ENV['RAPSYSPACK_SCHEME'] ?? 'https://').substr($inputs[$k], 2); + $inputs[$k] = ($_ENV['RAPSYSPACK_SCHEME'] ?? 'https').'://'.substr($inputs[$k], 2); //Deal with non url path } elseif (strpos($inputs[$k], '://') === false) { //Check if we have a bundle path -- 2.41.1