aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-05 10:09:02 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-05 10:09:02 -0700
commit479a2b6c938177d10c02ea3c4937d129de774776 (patch)
tree6730f568917096205e7a090fd1e87b6596997672 /src/main/java/org/traccar
parentfb26fa078fc3299112108a682004f41e767d397b (diff)
downloadtraccar-server-479a2b6c938177d10c02ea3c4937d129de774776.tar.gz
traccar-server-479a2b6c938177d10c02ea3c4937d129de774776.tar.bz2
traccar-server-479a2b6c938177d10c02ea3c4937d129de774776.zip
Relax regular expression (fix #4767)
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/StartekProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
index 65d295dc3..042518cb2 100644
--- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
@@ -80,6 +80,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder {
.expression("([^,]+)?,?") // temperature
.groupEnd("?")
.groupEnd("?")
+ .any()
.compile();
private String decodeAlarm(int value) {