#182 ✓resolved
Kieran P

Choices with periods or forwardslashes cause routing errors

Reported by Kieran P | March 31st, 2009 @ 02:44 PM | in 1.2

Because of how URLs/Rails routing works, any periods or forwardslashes in choice values cause routing to fail when the link is clicked.

To fix this, it'll require a special kind of escaping. Adding a decode and encode method on the string class will make this reusable in any future similar situations. Then encode the choice when making the url and decode it when parsing in the search results.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket