From 1eeda880ed5e8621b4190f78f9d4bac43568e257 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Mon, 26 Feb 2024 17:33:56 +0100 Subject: [PATCH] Remove trailing slash --- bouncer/src/Bouncer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bouncer/src/Bouncer.php b/bouncer/src/Bouncer.php index ba8f691..e39b162 100644 --- a/bouncer/src/Bouncer.php +++ b/bouncer/src/Bouncer.php @@ -212,7 +212,7 @@ class Bouncer $bouncerTarget->setEndpointHostnameOrIp($networks[0]['IPAddress']); } - $bouncerTarget->setTargetPath(sprintf('http://%s:%d/', $bouncerTarget->getEndpointHostnameOrIp(), $bouncerTarget->getPort() >= 0 ? $bouncerTarget->getPort() : 80)); + $bouncerTarget->setTargetPath(sprintf('http://%s:%d', $bouncerTarget->getEndpointHostnameOrIp(), $bouncerTarget->getPort() >= 0 ? $bouncerTarget->getPort() : 80)); $bouncerTarget->setUseGlobalCert($this->isUseGlobalCert()); @@ -302,7 +302,7 @@ class Bouncer continue; } - $bouncerTarget->setTargetPath(sprintf('http://%s:%d/', $bouncerTarget->getEndpointHostnameOrIp(), $bouncerTarget->getPort())); + $bouncerTarget->setTargetPath(sprintf('http://%s:%d', $bouncerTarget->getEndpointHostnameOrIp(), $bouncerTarget->getPort())); $bouncerTarget->setUseGlobalCert($this->isUseGlobalCert());