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
这个提交包含在:
@@ -8,6 +8,9 @@
|
||||
#include "sqlitedao.h"
|
||||
class PageDaoSqlite : public PageDao, protected SqliteDao
|
||||
{
|
||||
private:
|
||||
std::string ftsEscape(std::string input);
|
||||
|
||||
public:
|
||||
PageDaoSqlite()
|
||||
{
|
||||
|
在新工单中引用
屏蔽一个用户