mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:07:52 +08:00
Fix incorrect prefix check
This commit is contained in:
parent
1a26a5dbda
commit
c6a7082034
@ -496,7 +496,7 @@ namespace osu.Game
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
isTrustedDomain = url.StartsWith(API.APIEndpointUrl, StringComparison.Ordinal);
|
isTrustedDomain = url.StartsWith(API.WebsiteRootUrl, StringComparison.Ordinal);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!url.CheckIsValidUrl())
|
if (!url.CheckIsValidUrl())
|
||||||
|
Loading…
Reference in New Issue
Block a user