eclipse-ee4j / eclipse-ee4j/jersey

"Jersey bean validation" does not validate @PathParam on sub resource location

Open
#3,100 4 comments 0 reactions 0 assignees View on GitHub
Component: extensions Priority: Major Type: Bug
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Thare is no validation on sub resource location.

For example:

```
@Path("{resourceId}/action")
public ActionResource actionController(@PathParam("resourceId") @PathId @Pattern(regexp = "\\d{1,10}") String resourceId) {
....
}
```

parameter "resourceId" will not be validated
#### Affected Versions
[2.14]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.