Skip to content

Commit

Permalink
Fix bug with full URL parsing of VRC world IDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
BusterNeece committed Jul 23, 2024
1 parent c58f330 commit 6b7d542
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/src/Service/VrcApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}

Expand Down

0 comments on commit 6b7d542

Please sign in to comment.