eclipse-ee4j / eclipse-ee4j/jersey

Incorrect URL Encoding when Hexa-Decimal Characters are present

Open
#4,457 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Jersey Client is encoding the url incorrectly when the hexa-decimal characters are present in it.

For Example:
When the URL has query parameter: str LIKE '%Desk%'
The Encoding done by the API is : str%20LIKE%20%27%Desk%25%27
Expected Encoding to be done is : str%20LIKE%20%27%25Desk%25%27

Note that %25 is missing before Desk in the encoding by the api.

Similar encoding issue is seen whenever the query param has substrings like %Ab , %Da, %De and other hexa decimal characters

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.