aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard <bernamaxim@gmail.com>2023-03-13 22:36:21 +0700
committerGitHub <noreply@github.com>2023-03-13 22:36:21 +0700
commit0ed96dc475883bf2d56e6308089d6891ca521b18 (patch)
tree91d31715c738ebb534cd4766a7afe8633e0f185d
parent1a3b85ca28e938ac055be20851893f6d5a470a25 (diff)
downloadtrackermap-server-0ed96dc475883bf2d56e6308089d6891ca521b18.tar.gz
trackermap-server-0ed96dc475883bf2d56e6308089d6891ca521b18.tar.bz2
trackermap-server-0ed96dc475883bf2d56e6308089d6891ca521b18.zip
Update Keys.java
-rw-r--r--src/main/java/org/traccar/config/Keys.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 7896f0dc4..3c7346833 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -499,7 +499,7 @@ public final class Keys {
*/
public static final ConfigKey<String> DATABASE_REGISTER_UNKNOWN_REGEX = new StringConfigKey(
"database.registerUnknown.regex",
- List.of(KeyType.CONFIG));
+ List.of(KeyType.CONFIG), "\w{3,15}");
/**
* Store empty messages as positions. For example, heartbeats.