OData API Queries are not working anymore due to URL-Encode #463
Replies: 2 comments 3 replies
-
@yesoreyeram You might have a look at the OData documentation:
It's not especially mentioned, but the The feature request in here is, to either way add the option to not encode the query at all, or to define a set of characters that should kept unencoded, like an excemtion list. I hope it's clear now? |
Beta Was this translation helpful? Give feedback.
-
By the way I just learned that not only |
Beta Was this translation helpful? Give feedback.
-
Hi, we have plugin version 0.6.0 - OData queries are working fine.
We tried an update to 1.2.0 - OData queries do not work anymore.
The reason why is because the necessary
$
sign will be encoded to%24
. However,%24
will not be recognized by the OData API and therefor an error message will be returned rather than the queried data.Example query for OData looks like this:
https://odata-api.someserver.local/api/version/QUERY_PATH?$select=MyColumn1,MyColumn2&$filter=MyColumn2%20like%20%22%2Avalue%2A%22
Unfortunately I don't see any possibility to disable URL-Encode in the plugin and make sure the otherwise correct encoding will be within the query.
So, this can be seen as a feature request to either way add a checkbox for OData (in order to not encode
$
in query strings), or to add the possibility to disable the encoding completely and take responsibility yoursrelf.Thanks
Beta Was this translation helpful? Give feedback.
All reactions