kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 195 forks source link

Parameters with Special characters in name brakes Flowrouter #632

Open paranoico opened 8 years ago

paranoico commented 8 years ago

Hello, When we use some special character in parameter name Flowrouter simply does not parse and report error:

There is no route for the path:

For instance, using following declaration: FlowRouter.route('/cargarDatos/:días', { name: 'cargarDatos.iniciar', action({díasConsecutivos}) { mount(MainLayoutCtx, { content: () => (<CargarDatos consecutivos={días} />), footer: <PiePágina /> }); }

Always throws mentioned error. Even when we have no problem making the same in other Meteor code or even containers names (like before on PiePágina).