How to make my URL mapping case insensitive?
Posted
by fabien7474
on Stack Overflow
See other posts from Stack Overflow
or by fabien7474
Published on 2010-05-11T09:48:27Z
Indexed on
2010/05/11
11:14 UTC
Read the original article
Hit count: 279
grails
|url-routing
Grails, by default, is case-sensitive when mapping URL to controller actions or views.
For instance, www.mywebsite.com/book/list will work BUT www.mywebsite.com/Book/list will return a 404 page.
What can I do (code snippets are welcomed) to make my URL case-insensitive (i.e. www.mywebsite.com/Book/list being a valid url) ?
© Stack Overflow or respective owner