ruby on rails - No Route Matches [GET] with # or ? parameter error -
i have route:
# :chwid => camera hardware id - :mid => machine id - :fs => formatstring '/videocams/video/:chwid/:mid/:fs' => "videocams#get_videocams_id", :constraints => { :chwid => /[^\/]+/, :mid => /[^\/]+/, :fs => /[^\/]+/ }
but when call route, first parameter :chwid contains character # , ?:
(@device:pnp:\?\root#image#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global)
and error called:
started "/videocams/video/@device:pnp:%5c%5c?%5croot"
actioncontroller::routingerror (no route matches [get] "videocams/video/@device:pnp:%5c%5c":
what might triggering error , how can fix it?
url-escape characters have meaning in urls lie #
, ?
.