Skip to content
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

Support arbitrary literals in URL dispatch #1

Open
cgay opened this issue Mar 8, 2011 · 0 comments
Open

Support arbitrary literals in URL dispatch #1

cgay opened this issue Mar 8, 2011 · 0 comments
Labels

Comments

@cgay
Copy link
Member

cgay commented Mar 8, 2011

It isn't currently possible to use URLs that have literal path elements AFTER path variables. There's no reason this shouldn't work and in fact code-browser uses it.

I think a good way to implement this is to parse the URL into path elements and instead of saving just the part before the first path variable, save the entire path with the variable elements marked in some way. To match, all literal elements must match.

I'm not looking at the code, but this seems like it should be a trivial extension.

waywardmonkeys added a commit that referenced this issue May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant