-
Notifications
You must be signed in to change notification settings - Fork 141
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
Literal asterisk in url #277
Comments
Hi, there is no other way to do it, right now. |
Would you like me to create a PR for this? If so, let me know how the asterisk should be escaped. |
To escape the colon in the path we use double colon "::". We could use a double asterisk to avoid a wildcard node, or we can continue using the leading colon as an escape symbol.
I can't say right now that I like one of the options. You can reopen this issue and we will think about it. |
Is this issue still available?? |
I don't have a good solution for this. I don't think that bringing another exception rule into router logic is worth it. |
Okay so how will this issue be resolved @ivan-tymoshenko |
Is there a way to escape the asterisk * in the url to match the character literally?
Falling back to a regular expression like "/some/url/:asterisk(^\\*)" works, but I was wondering if this is the preferred way to do it?
The text was updated successfully, but these errors were encountered: