eclipse-ee4j / eclipse-ee4j/jersey
queryParam doesn't encode value which is a list of item separated by the space
Open
Component: core
Priority: Major
Type: Bug
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
If the request URI is something like:
```
http://localhost:8080/api?queryParam={type:[A+B]}
```
The following code doesn't work in Jersey 1.19, but it was working with 1.17
```
String query = "[A B]";
queryParams.add("type", query);
resource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
```
#### Affected Versions
[1.19]
Contributor guide
Assessment
This issue has not been assessed yet.