[MM-24453] Sanitize user term search (#14494)
* Sanitize user term search Remove the @ at the beginning of the search term in order to make it possible for ES to return results
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2135096d88
Коммит
f135e6c1bf
@@ -104,7 +104,7 @@ var searchUserStoreTests = []searchTest{
|
||||
{
|
||||
Name: "Should ignore leading @ when searching users",
|
||||
Fn: testShouldIgnoreLeadingAtSymbols,
|
||||
Tags: []string{ENGINE_MYSQL, ENGINE_POSTGRES},
|
||||
Tags: []string{ENGINE_ALL},
|
||||
},
|
||||
{
|
||||
Name: "Should search users in a case insensitive manner",
|
||||
|
||||
Ссылка в новой задаче
Block a user