Rishabh Jain created OLINGO-1537:
------------------------------------
Summary: Single Quote character is not getting encoded in the URL
query parameter
Key: OLINGO-1537
URL: https://issues.apache.org/jira/browse/OLINGO-1537
Project: Olingo
Issue Type: Bug
Components: odata4-client
Affects Versions: (Java) V4 4.8.0
Reporter: Rishabh Jain
We were using the olingo library 4.0.0-beta-02-RC01 before and now we are
upgrading to 4.8.0 version. There is a change of bahavior in encoding URL query
parameters between these versions. If the URL has single quote character, the
library used to encode it earlier, whereas, it's not encoding those characters
now.
For example,
URL in Olingo 4.8.0:
[http://[email protected]/Prod?%24top=2001&%24filter=vals%20eq%20'a%20b'|http://[email protected]/Products?%24top=2001&%24filter=vals%20eq%20%27a%20b%27]
URL in Olingo 4.0.0-beta-02-RC01:
[http://[email protected]/Prod?%24top=2001&%24filter=vals%20eq%20%27a%20b%27|http://[email protected]/Products?%24top=2001&%24filter=vals%20eq%20%27a%20b%27]
Note that the single quote characters are not encoded in new version of olingo
library
--
This message was sent by Atlassian Jira
(v8.3.4#803005)