From 6b7d5421356c84acf67235b64fe1e85b7987886a Mon Sep 17 00:00:00 2001 From: Buster Neece Date: Tue, 23 Jul 2024 02:37:47 -0500 Subject: [PATCH] Fix bug with full URL parsing of VRC world IDs. --- backend/src/Service/VrcApi.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/Service/VrcApi.php b/backend/src/Service/VrcApi.php index a6be4eb..3cf7812 100644 --- a/backend/src/Service/VrcApi.php +++ b/backend/src/Service/VrcApi.php @@ -104,8 +104,9 @@ public static function parseWorldId(string $worldId): string // URLs in the form of: // https://vrchat.com/home/launch?worldId=wrld_4cf554b4-430c-4f8f-b53e-1f294eed230b&... $queryParams = Query::parse($uri->getQuery()); - if (!empty($queryParams['worldid'])) { - return trim($queryParams['worldid']); + + if (!empty($queryParams['worldId'])) { + return trim($queryParams['worldId']); } }