You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by Kavindu Dodanduwa <ka...@ifsworld.com> on 2016/10/18 08:06:56 UTC

URI parsing - Spaces between parameters

Hi all,

This is regarding URI parsing.

Prior to the V4.4.2, parameters with spaces were allowed to pass through Olingo. But after changing the version to V4.4.2, spaces are not allowed between parameters.

For example, consider the following,

<service>/EntitySet(key1='k1', key2='k2') is valid prior to V4.4.2  (note the space between two parameters)

But for versions V4.4.2 and above, it gives and error with following details,

"Expected token 'ODataIdentifier' not found." [stack trace refer to, org.apache.olingo.server.core.uri.parser.ParserHelper.requireNext(ParserHelper.java:102)]

According to the specification and ABNF there's nothing stated on allowing spaces between parameters but is this the intentional behavior.? Furthermore I believe this happened after the URI parsing refactoring done through OLINGO-834<https://issues.apache.org/jira/browse/OLINGO-834>

Regards,
Kavindu Dodanduwa

________________________________
Confidentiality notice and disclaimer
This e-mail is private and may contain confidential information. You must not use, disclose, or retain any of its content if you have received it in error: please notify its sender and then delete it. Any views or opinions expressed in this e-mail are strictly those of its author. We do not accept liability for the consequences of any data corruption, interception, tampering, or virus.