OData $filter URL encoded

Hello there,

I am using an ODataSchemaDispatcher to make a service available via OData. This looks fine, but some of my tables have a required parameter which needs to be passed along.

This requires a URL like http://example.org/odata/FooTable?$filter=userID%20eq%207

Using this style of URL works fine. However, the JavaScript toolkit I am using to construct that URL insists on URL-encoding the dollar symbol, such that URLs look like …/odata/FooTable?%24filter=userID%20eq%207 (Note the %24)

Unfortunately, the ODataSchemaDispatcher doesn’t seem to like this encoded dollar and gives an error (ERROR: 42601: syntax error at or near “:”) because the required userID is available.

Is there some way to make the dispatcher accept the percent-encoded dollar?

Hello,

I think is the same as dicussion at
http://connect.remobjects.com/discussion/2950/odata-url-encoding

Best regards,
Tiberiu Stoicescu

Indeed, thanks Tiberiu. The search didn’t seem to find that question.

We use the .NET version, what changes would need to get done?

Hello.

Thank you for the detailed information. I have reproduced the problem and registered corresponding issues #61512 (.NET) and #61513 (Delphi) to support encoded version of symbol $ in Odata requests.

Thanks

Hi Andrey,

Thank you for logging the issues. Is there any way for me to track their status? Or is it safe to assume they will be fixed in the next release (Summer 2013?) ?

Thanks

Hello.

Unfortunately, I can’t say for sure when the problem will be solved. You can watch our changelog (http://www.remobjects.com/changelogs/?id={E574D432-931B-43E5-80B1-5C535E3D5A86}) that includes the changes has been made in the release.

Thanks.