Skip to Content
2
Jun 10, 2020 at 09:50 AM

@sap/cds-odata-v2-adapter-proxy - problem with %2F in EntityKey

98 Views

Hey there,

I'm using the cds-odata-v2-adapter-proxy (1.4.33) in front an CAP JAVA ODATA V4 Backend.

Now, I have an entity that uses encoded slack (%2F) in its (String) key property. Calling the V4 Backend directly, it works. But using the proxy, I get the error message "The key value '' is invalid."

The URL I call is like this:

http://localhost:4004/v2/odata/v4/NAVIGATE_SRV/FavoriteSet('WE%2FDE-SFSNRF')

I know, that using slashes is discouraged, but maybe you could help me out?

Is there a property in cds-odata-v2-adapter-proxy or Node express, that I could change, so that this request is passed?

Thanks!