Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 28, 2018. It is now read-only.

JerseyUriBuilder: allow template parameter regexes to contain braces#3797

Open
cky wants to merge 1 commit into
javaee:masterjavaee/jersey:masterfrom
cky:allow-braces-in-template-param-regexescky/jersey:allow-braces-in-template-param-regexesCopy head branch name to clipboard
Open

JerseyUriBuilder: allow template parameter regexes to contain braces#3797
cky wants to merge 1 commit into
javaee:masterjavaee/jersey:masterfrom
cky:allow-braces-in-template-param-regexescky/jersey:allow-braces-in-template-param-regexesCopy head branch name to clipboard

Conversation

@cky

@cky cky commented Mar 31, 2018

Copy link
Copy Markdown

The template parameter syntax allows the regex to have one level of braces, as long as they are evenly matched, arbitrarily many times.

However, JerseyUriBuilder does not currently handle this correctly: all the non-URL-safe characters (such as backslashes) after the first closing brace gets encoded, making the regex unable to be compiled successfully.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.