summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-12-07 07:55:36 -0500
committerGitHub <noreply@github.com>2016-12-07 07:55:36 -0500
commit472a86406061cfda017fe7a562535570ee69beba (patch)
tree23ba97048a257f5e9391fff55f143d796cf62105 /store/sql_user_store.go
parented15f10b7952e1143b49621dd978a2175435cbd0 (diff)
downloadchat-472a86406061cfda017fe7a562535570ee69beba.tar.gz
chat-472a86406061cfda017fe7a562535570ee69beba.tar.bz2
chat-472a86406061cfda017fe7a562535570ee69beba.zip
Ignore double quotes in user search (#4725)
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r--store/sql_user_store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go
index 1eea1fdc2..c8c6714d8 100644
--- a/store/sql_user_store.go
+++ b/store/sql_user_store.go
@@ -1234,6 +1234,7 @@ var specialUserSearchChar = []string{
"@",
":",
"*",
+ "\"",
}
func (us SqlUserStore) performSearch(searchQuery string, term string, options map[string]bool, parameters map[string]interface{}) StoreResult {