Check url nullability

This commit is contained in:
Jack251970 2025-06-29 16:29:45 +08:00
parent 3e9e91d71c
commit a3a0c59fa3

View file

@ -259,6 +259,9 @@ public static class PluginInstallationHelper
private static bool InstallSourceKnown(string url)
{
if (string.IsNullOrEmpty(url))
return false;
var pieces = url.Split('/');
if (pieces.Length < 4)