Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

JerseyUriBuilder: allow template parameter regexes to contain braces #3797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cky
Copy link

@cky cky commented Mar 31, 2018

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