FIX #10771 TIME 0:05 autocomplete user Maarch Parapheur with spaces

parent 96e923cd
......@@ -147,7 +147,7 @@ class AutoCompleteController
}
$curlResponse = CurlModel::execSimple([
'url' => rtrim($url, '/') . '/rest/autocomplete/users?search='.$data['search'].$exclude,
'url' => rtrim($url, '/') . '/rest/autocomplete/users?search='.urlencode($data['search']).$exclude,
'basicAuth' => ['user' => $userId, 'password' => $password],
'headers' => ['content-type:application/json'],
'method' => 'GET'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment