geforkt von Mirrors/Paper
Pluginnames can also space out now
By: Erik Broes <erikbroes@grum.nl>
Dieser Commit ist enthalten in:
Ursprung
07b4fca3ae
Commit
39ceba6c4f
@ -133,7 +133,7 @@ public final class PluginDescriptionFile {
|
||||
try {
|
||||
name = map.get("name").toString();
|
||||
|
||||
if (!name.matches("^[A-Za-z0-9_.-]+$")) {
|
||||
if (!name.matches("^[A-Za-z0-9 _.-]+$")) {
|
||||
throw new InvalidDescriptionException("name '" + name + "' contains invalid characters.");
|
||||
}
|
||||
} catch (NullPointerException ex) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren