Skip to content

Commit f127266

Browse files
committed
fix: Handle null keys in Query Parameter Building
1 parent ad92aa1 commit f127266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Game/Utilities/LootLockerHttpUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public string Build()
5959

6060
foreach (KeyValuePair<string, string> pair in _queryParams)
6161
{
62-
if (string.IsNullOrEmpty(pair.Value))
62+
if (string.IsNullOrEmpty(pair.Key) || string.IsNullOrEmpty(pair.Value))
6363
continue;
6464

6565
if (query.Length > 1)

0 commit comments

Comments
 (0)