Stream: dotnet
Topic: OR condition in Search Parameters
Demetrio Toring Jr (May 22 2018 at 09:10):
What is the standard way of parsing a comma-separated list of values (OR condition) in the search parameters? How do you encode comma not as a separator but part of the value string? We are currently using HttpRequestMessageExtensions.GetQueryNameValuePairs(System.Net.Http.HttpRequestMessage) to get the list of key-value pairs, and apparently %2C and comma "," both result to comma "," in the value string, and so with this there is no way to differentiate a comma that must be scaped from a separator comma.
Last updated: Apr 12 2022 at 19:14 UTC