-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Param containing a period #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems like we should allow any valid uri between forward slashes. Sent from my iPhone
|
Here's an example. If I have a route set up like
and then go to
I get a warning:
but if I change the route to
then the route gets matched and I get |
Currently, Ultimately this is just a matter of preference. I'd be ok to switch the behavior if everyone wants to. |
Hm, I can see the reason for the current behavior. It's pretty inconvenient for what I'm doing, though, since I'm checking strings in the params that just happen to contain a period. I think I'll fork for my own use, at least. |
@cleercode It's literally just removing the @rpflorence What's your feeling? |
This is the second time it's come up, and I anticipate it'll be problem when we bring the router in for a file browser UI we're working on right now. I think . makes more sense as a character than delimiter. Sent from my iPhone
|
@rpflorence Yeah, I agree. @cleercode You want to make a PR? :) |
I'd like to have a match based on a param that contains a period, instead of using the period as a separator and therefore considering it as two separate params. Possible?
The text was updated successfully, but these errors were encountered: