aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
index c4b29850d..ebc7e7c04 100644
--- a/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
@@ -243,7 +243,7 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder {
} else {
List<Position> positions = new LinkedList<>();
- for (String item : parser.next().split("$")) {
+ for (String item : parser.next().split("\\$")) {
positions.add(decodePosition(deviceSession, item));
}
return positions;