handlersearch: Allow all characters by escaping FTS

Escape FTS queries by simply treating everything as string.
Though this way a user cannot use operators, it's an improvement
over how it was done before.

Closes: #7
这个提交包含在:
2021-03-25 21:40:05 +01:00
父节点 2aa11fc2b2
当前提交 d507c507e4
共有 3 个文件被更改,包括 22 次插入12 次删除

查看文件

@@ -8,6 +8,9 @@
#include "sqlitedao.h"
class PageDaoSqlite : public PageDao, protected SqliteDao
{
private:
std::string ftsEscape(std::string input);
public:
PageDaoSqlite()
{