From 14dc6dceae974875274bf87ce4971fac4b6abd49 Mon Sep 17 00:00:00 2001 From: Trevor Hartman Date: Thu, 21 May 2020 17:33:01 -0700 Subject: [PATCH] Fixing bug in usage of ltrim --- src/Transport/Guzzle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transport/Guzzle.php b/src/Transport/Guzzle.php index 4b2c394a25..8ed36508d2 100755 --- a/src/Transport/Guzzle.php +++ b/src/Transport/Guzzle.php @@ -177,7 +177,7 @@ protected function _getBaseUrl(Connection $connection): string 'scheme' => $this->_scheme, 'host' => $connection->getHost(), 'port' => $connection->getPort(), - 'path' => \ltrim('/', $connection->getPath()), + 'path' => \ltrim($connection->getPath(), '/'), ]); }