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
Jersey should decode @Path before evaluating the regex #446
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented https://jsr311.dev.java.net/nonav/releases/1.0/spec/spec3.html#x3-370003.7.3 If you want this support i recommend logging an issue against JSR 311. It is |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
I think issue should be reopened. In referencing my Stackoverflow post, this appears to be a continuing problem. The pattern: @Path("/{code: [A-Z0-9][A-Z0-9\\s-]{0,10}[A-Z0-9]}") should match |
Currently Jersey runs the regular expression against the encoded string. This
makes it impossible to use
s and other regular expressions to match @path
parameters.
See
http://n2.nabble.com/Shouldn%27t-Jersey-decode-%40Path-before-matching-the-regex--tt2089825.html
for more information.
Environment
Operating System: All
Platform: All
Affected Versions
[1.0.1]
The text was updated successfully, but these errors were encountered: