fix search crash with extra space
Ted Unangst tedu@tedunangst.com
Tue, 07 Jul 2020 16:53:30 -0400
2 files changed,
5 insertions(+),
0 deletions(-)
M
database.go
→
database.go
@@ -264,6 +264,9 @@ params = append(params, userid)
terms := strings.Split(q, " ") for _, t := range terms { + if t == "" { + continue + } negate := " " if t[0] == '-' { t = t[1:]
M
docs/changelog.txt
→
docs/changelog.txt
@@ -2,6 +2,8 @@ changelog
=== next ++ Fix crash in search with extra space. + + Fix pubkey issue with domain only keys. === 0.9.2 Malleable Maltote