Skip to content

Commit

Permalink
Normalize the search term
Browse files Browse the repository at this point in the history
  • Loading branch information
joelit committed Nov 9, 2021
1 parent 30ce5d0 commit 5bfe646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/ConceptSearchParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public function getSearchTerm()
if (!$term && $this->rest)
$term = $this->request->getQueryParamRaw('label');
$term = trim($term); // surrounding whitespace is not considered significant
$term = Normalizer::normalize( $term, Normalizer::FORM_C ); //Normalize decomposed unicode characters #1184
if ($this->rest) {
return $term;
}
Expand Down

0 comments on commit 5bfe646

Please sign in to comment.