federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.69k stars 1.1k forks source link

“%” need to be escaped when searching #633

Closed liziwl closed 5 years ago

liziwl commented 5 years ago

Describe the bug “%” need to be escaped when searching. If searching "%", it gives all the notes.

Context

Expected behavior Should be showing the notes just includes "%". Maybe need to add some condition when generating SQL.

Screenshots image

federicoiosue commented 5 years ago

Thanks for reporting, solved both for special chars % and _. Will be released into the latest beta version