[BUGFIX beta] sync route-recognizer

Fixes #4998
Merge pull request #5373 from machty/sync-recog-decode

[BUGFIX beta] sync route-recognizer