From 13e6d7a3574eee1276e32372cd13857648649e6c Mon Sep 17 00:00:00 2001 From: Klaus Date: Wed, 1 Jan 2025 15:21:57 +0100 Subject: [PATCH] fix: Nutripatrol url trailing slash removal regex Refs: ##11181 --- lib/ProductOpener/ConfigEnv.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProductOpener/ConfigEnv.pm b/lib/ProductOpener/ConfigEnv.pm index 71eb5306c2f35..956a42e6a31fd 100644 --- a/lib/ProductOpener/ConfigEnv.pm +++ b/lib/ProductOpener/ConfigEnv.pm @@ -33,6 +33,6 @@ BEGIN { use vars @EXPORT_OK; # no 'my' keyword for these $nutripatrol_url = $ENV{NUTRIPATROL_URL}; -$nutripatrol_url =~ s/\///; # remove trailing slash if there is one +$nutripatrol_url =~ s/\/$//; # remove trailing slash if there is one 1;