This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Commit 871c112
committed
Fix for crash when search includes white-space
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.1 parent b952af5 commit 871c112
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
174 | 179 | | |
175 | 180 | | |
176 | 181 | | |
| |||
0 commit comments