FlowRouter query parameter parsing is wrong

when i tried to parse this url


expecting route = 'torrent-item' String but FlowRouter router value is ["", "torrent-item"] Array

online - https://ts-vcompile.herokuapp.com/user#!/torrent?previous=%2Ftorrent%3Fprevious%3D%252Fuser%26route%3D&route=torrent-item

repo - https://github.com/HedCET/TorrentSearch

It looks like FlowRouter is getting confused because your URL encoded previous parameter includes a route parameter. You might want to try double URL encoding (then decoding) your previous parameter to help FlowRouter out, or look into another way of handling this.

There are some open URL encoding issues with FlowRouter, like this one: