[RSS Feed/News] Question re: routing and using spaces in the route format variable

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have a route with the following Route Format:

albums/:str<query>/: page
Click to expand...

Now, this route works great when I use queries that have no spaces in them (note: I've added a space between : and p to avoid displaying a smiley lol)

But when I do use spaces, I get hit with an error (even when I urlencode the string properly, so for example "star wars" becomes "star+wars")

The requested page could not be found. (Code: invalid_action, controller: TestCon:AlbumSearch, action...
Click to expand...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom