diff --git a/src/Services/PantheonGuzzle.php b/src/Services/PantheonGuzzle.php index 6743c314..3ce43567 100644 --- a/src/Services/PantheonGuzzle.php +++ b/src/Services/PantheonGuzzle.php @@ -166,7 +166,7 @@ public function requestUriAlterForPantheonEnvironment(RequestInterface $request) $path_parts = array_filter($path_parts, function ($item) { return !empty($item); }); - $uri = $uri->withPath(implode('/', $path_parts)); + $uri = $uri->withPath('/' . ltrim(implode('/', $path_parts), '/')); return $request->withUri($uri); }