From ca304261a3a3d70600107a633c942864c87c3e7b Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 11 Jun 2024 04:16:36 +0200 Subject: [PATCH] Fix malformed query params --- common/components/SkinsSystemApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/components/SkinsSystemApi.php b/common/components/SkinsSystemApi.php index b858367..f93b105 100644 --- a/common/components/SkinsSystemApi.php +++ b/common/components/SkinsSystemApi.php @@ -49,7 +49,7 @@ class SkinsSystemApi { $query['onUnknownProfileRespondWithUuid'] = $fallbackUuid; } - $url = "/profile/{$username}" . (empty($query) ? '' : http_build_query($query)); + $url = "/profile/{$username}" . (empty($query) ? '' : ('?' . http_build_query($query))); $response = $this->getClient()->request('GET', $this->buildUrl($url)); if ($response->getStatusCode() !== 200) { return null;