Also clear repositories when split length is invalid
This commit is contained in:
@@ -238,7 +238,8 @@ public class ExternalPluginManager
|
|||||||
String[] split = keyval.split("\\|");
|
String[] split = keyval.split("\\|");
|
||||||
if (split.length != 2)
|
if (split.length != 2)
|
||||||
{
|
{
|
||||||
log.debug("Split length invalid.");
|
log.debug("Split length invalid: {}", keyval);
|
||||||
|
repositories.clear();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
String id = split[0];
|
String id = split[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user