Skip to content

Commit

Permalink
:bugs: fix: Fix the problem when there is space in query within If-No…
Browse files Browse the repository at this point in the history
…ne-Exists header
  • Loading branch information
Tuncay Namli committed Oct 4, 2024
1 parent ff4d565 commit c64a66b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class FHIRCreateService(transactionSession: Option[TransactionSession] = None) e
//2) User requested a conditional update, so check the search parameters in
// If-None-Exist header with the current version
if(ifNoneExist.isDefined){
val parameters = Uri.Query(ifNoneExist.get).toMultiMap
val parameters = Uri.Query(ifNoneExist.get.replace(' ', '+')).toMultiMap
//Parse the parameters
val parsedParameters = fhirConfigurationManager.fhirSearchParameterValueParser.parseSearchParameters( _type, parameters, prefer)
// Search the resources; only we need mandatory elements e.g. id, meta
Expand Down

0 comments on commit c64a66b

Please sign in to comment.