Server: Spiffy/6.3 (Running on CHICKEN 5.3.0) Fix H02 status code decoding - trackermap-server - Patches to the Traccar server for ed' href='http://127.0.0.1:4002/trackermap-server/atom/src/org/traccar/protocol?h=v4.13' type='application/atom+xml'/> <link rel='vcs-git' href='https://git.avalos.me/trackermap-server' title='trackermap-server Git repository'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/'><img src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/'>index</a> : <a href='/trackermap-server/'>trackermap-server</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'/><select name='h' onchange='this.form.submit();'> <option value='master'>master</option> <option value='upstream'>upstream</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>Patches to the Traccar server for TrackerMap</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/trackermap-server/about/?h=v4.13'>about</a><a href='/trackermap-server/?h=v4.13'>summary</a><a href='/trackermap-server/refs/?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>refs</a><a href='/trackermap-server/log/src/org/traccar/protocol?h=v4.13'>log</a><a href='/trackermap-server/tree/src/org/traccar/protocol?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>tree</a><a class='active' href='/trackermap-server/commit/src/org/traccar/protocol?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>commit</a><a href='/trackermap-server/diff/src/org/traccar/protocol?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>diff</a></td><td class='form'><form class='right' method='get' action='/trackermap-server/log/src/org/traccar/protocol'> <input type='hidden' name='h' value='v4.13'/><input type='hidden' name='id' value='1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/trackermap-server/commit/?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>root</a>/<a href='/trackermap-server/commit/src?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>src</a>/<a href='/trackermap-server/commit/src/org?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>org</a>/<a href='/trackermap-server/commit/src/org/traccar?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>traccar</a>/<a href='/trackermap-server/commit/src/org/traccar/protocol?h=v4.13&id=1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'>protocol</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='v4.13'/><input type='hidden' name='id' value='1498b5c5a00c575ba67dce2dcfac0d77a8b4964a'Content-Length: 374 Date: Sun, 08 Dec 2024 22:49:58 GMT /><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>s<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 - Internal Server Error

500 - Internal Server Error

sdiff
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-16 14:53:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-16 14:53:05 +1200
commit1498b5c5a00c575ba67dce2dcfac0d77a8b4964a (patch)
tree5a3746b585e524b1f2a306b1009b30988fe314ea /src/org/traccar/protocol
parent5c127eee77815eabc5c99ee45b2767a0e61553a9 (diff)
downloadtrackermap-server-1498b5c5a00c575ba67dce2dcfac0d77a8b4964a.tar.gz
trackermap-server-1498b5c5a00c575ba67dce2dcfac0d77a8b4964a.tar.bz2
trackermap-server-1498b5c5a00c575ba67dce2dcfac0d77a8b4964a.zip
Fix H02 status code decoding
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/H02ProtocolDecoder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java
index b78f21d8d..465bf8395 100644
--- a/src/org/traccar/protocol/H02ProtocolDecoder.java
+++ b/src/org/traccar/protocol/H02ProtocolDecoder.java
@@ -184,7 +184,9 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder {
.number("(d+),")
.number("(d+)#")
.or()
- .any()
+ .expression(",.*")
+ .or()
+ .text("#")
.groupEnd()
.compile();