-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
',' in search param is mistreated as '\' #192
Comments
Hi @SherryH , I'm not able to reproduce this so far, although I"m probably missing something. Would you be able to share a code sample illustrating the issue? Cheers, |
Hi @jamesagnew , Thanks, @Search() // the special chars: ',', '' is not properly handled in extreme case } |
Hi Sherry- I've added a unit test that tests exactly this, and it still seems to work fine (see af0db66 ). Is it possible that there is an issue on the client end? E.g. "," is getting converted to ","? Are you using HAPI's client, or something else? |
Hi Sherry, after your comment on the last commit (thanks for that!) I was able to reproduce. This is fixed, and in the process I also discovered that we also aren't always correctly handling escaped backslashes ( Thanks again!! |
In performing CarePlan search, if a comma ',' is contained in Token search param, the search result returns contains backslash '' instead if the search code is escaped according to FHIR spec. Empty list is returned if it is not escaped.
In string search without escaping, ',' is ignored and all the partial matching strings are returned.
The text was updated successfully, but these errors were encountered: