Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.8.0
-
None
-
None
Description
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://test@fake.odataproducer.com/Prod?%24top=2001&%24filter=vals%20eq%20'a%20b'
URL in Olingo 4.0.0-beta-02-RC01:
http://test@fake.odataproducer.com/Prod?%24top=2001&%24filter=vals%20eq%20%27a%20b%27
Note that the single quote characters are not encoded in new version of olingo library