1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +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())