Skip to content
Discussion options

You must be logged in to vote

It sounds like you aren't after the optional behavior (which is /:foo?) but rather a literal ?. IIRC this became an error when the syntax become stricter in v6, and you need to escape with a backslash (e.g. \\?).

The reason it was required to be stricter was to avoid small changes becoming unexpected changes (e.g. /foo? and /:foo? mean much different things).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iambumblehead
Comment options

Answer selected by iambumblehead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants