1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 03:42:57 +08:00

Fix incorrect prefix check

This commit is contained in:
Dean Herbert 2024-05-31 15:38:26 +09:00
parent 1a26a5dbda
commit c6a7082034
No known key found for this signature in database

View File

@ -496,7 +496,7 @@ namespace osu.Game
}
else
{
isTrustedDomain = url.StartsWith(API.APIEndpointUrl, StringComparison.Ordinal);
isTrustedDomain = url.StartsWith(API.WebsiteRootUrl, StringComparison.Ordinal);
}
if (!url.CheckIsValidUrl())