Dollar sign in route? |
[eluser]sheldonnbbaker[/eluser]
Hello Code: $route['posts/([\-\^\*a-zA-Z0-9\|=<>\$]+)'] = "posts/index/$1"; I'm getting a 404 error with this route - and I'm positive I'm not triggering it myself in my controller or anything when I try to load http://localhost/posts/user$=sheldonnbbaker. Are dollar signs kicked out of the routing class somehow?
[eluser]richthegeek[/eluser]
yes, they aren't valid URL characters. Try url_encode or similar to change it to its correct URL representation |
Welcome Guest, Not a member yet? Register Sign In |