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:
parent
1a26a5dbda
commit
c6a7082034
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user