geforkt von Mirrors/Paper
Forgot we have windows to support as well
By: Erik Broes <erikbroes@grum.nl>
Dieser Commit ist enthalten in:
Ursprung
434f054e38
Commit
07b4fca3ae
@ -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