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

Allow use of UTF-8 in path parameter expressions #220

Merged
merged 1 commit into from
Oct 21, 2015

Conversation

gitblit
Copy link
Collaborator

@gitblit gitblit commented Oct 21, 2015

Add support for the :alnum:, :alpha:, :ascii:, :digit:, and :xdigit: POSIX character classes in URL path parameters. These values are substituted for their Java equivalent when the Route PatternBinding is created by DefaultRouter.

Using the Java equivalent syntax directly creates complications with the existing route parameter matching expression due to nesting of curly braces. This alternative is less invasive.

Add support for the `:alnum:`, `:alpha:`, `:ascii:`, `:digit:`, and `:xdigit:` POSIX character classes in URL path parameters.  These values are substituted for their Java equivalent when the Route PatternBinding is created by DefaultRouter.

Using the Java equivalent syntax *directly* creates complications with the existing route parameter matching expression due to nesting of curly braces.  This alternative is less invasive.
decebals added a commit that referenced this pull request Oct 21, 2015
Allow use of UTF-8 in path parameter expressions
@decebals decebals merged commit ad09084 into master Oct 21, 2015
@decebals
Copy link
Member

👍 Nice. It's for the first time when I read about POSIX character classes.

@gitblit gitblit deleted the posix_character_classes branch October 22, 2015 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants