jeudi 25 juin 2015

Rails Bad Request Bad Uri Due to Curly Brackets

I need my url to allow curly brackets. Like so

http://localhost:3000/?target={target_id}

The reason for this is that the {target_id} param will be replaced later by a third party site. I will not read that parameter I just need the site to load when the url looks this way.

currently I get this messege

Bad Request

Bad URI '?target={target_id}`

How do I get WeBrick to ignore the curly brackets in the url and display the site?

Aucun commentaire:

Enregistrer un commentaire