diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-05-23 12:56:39 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-05-23 09:56:39 -0700 |
commit | 8fa582dd8362a2444e21c9225364ab072be93e86 (patch) | |
tree | df336be7ac65599f13d817d5764f3cdd2cdf1892 | |
parent | e460d79d9e744d070cca56ec0ca2de0e110cac47 (diff) | |
download | chat-8fa582dd8362a2444e21c9225364ab072be93e86.tar.gz chat-8fa582dd8362a2444e21c9225364ab072be93e86.tar.bz2 chat-8fa582dd8362a2444e21c9225364ab072be93e86.zip |
Filtering colons from search to prevent postgres error (#3075)
-rw-r--r-- | store/sql_post_store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go index d7d009ce4..4aa6ff468 100644 --- a/store/sql_post_store.go +++ b/store/sql_post_store.go @@ -598,6 +598,7 @@ var specialSearchChar = []string{ ")", "~", "@", + ":", } func (s SqlPostStore) Search(teamId string, userId string, params *model.SearchParams) StoreChannel { |