Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Fix for crash when search includes white-space - #1950

Merged
jcansdale merged 2 commits into
masterfrom
fixes/1948-search-white-space
Sep 26, 2018
Merged

jcansdale merged 2 commits into
masterfrom
fixes/1948-search-white-space

Conversation

@jcansdale

@jcansdale jcansdale commented Sep 25, 2018 •

Copy link
Copy Markdown
Collaborator

SearchAsync will crash the process if we send it a duplicate string. There is a SearchTrimsWhitespace setting that makes searched with leading or trailing white-space appear as duplicates. We compare the query with trimmed white-space to avoid this.

Fixes #1948

SearchAsync will crash the process if we send it a duplicate string.
There is a SearchTrimsWhitespace setting that makes searched with
leading or trailing white-space appear as duplicates. We compare the
query with trimmed white-space to avoid this.
@meaghanlewis

Copy link
Copy Markdown
Contributor

This LGTM @jcansdale!

@jcansdale
jcansdale merged commit efe148d into master Sep 26, 2018
@jcansdale
jcansdale deleted the fixes/1948-search-white-space branch January 11, 2019 13:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants