You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the links section of a response, the URL values for self and first are encoded differently.
STEPS TO REPRODUCE
Request a resource and include a filter query, where one constant expression contains a space character: http://localhost/api/items?filter=equals(city,'New York')
Hi @max-maurice, thanks for reaching out. I can reproduce the problem and was surprised by this behavior, which comes from the built-in Uri class in .NET that we use here. I've created dotnet/runtime#100792 to investigate.
DESCRIPTION
In the
links
section of a response, the URL values forself
andfirst
are encoded differently.STEPS TO REPRODUCE
http://localhost/api/items?filter=equals(city,'New York')
EXPECTED BEHAVIOR
Links are encoded the same way in all link URLs, where a space character is output as
%20
just like in theself
field.ACTUAL BEHAVIOR
Links in the
first
andnext
field, and presumably in others too, are not entirely url-encoded.VERSIONS USED
The text was updated successfully, but these errors were encountered: