mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 17:53:35 +00:00
[Bug Fix] Escape search string in #find item (#3510)
This commit is contained in:
1 parent
c30074be66
commit
1d96ddb60d
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public:
|
||||
auto query = fmt::format(
|
||||
"SELECT `id` FROM {} WHERE LOWER(`name`) LIKE '%%{}%%' ORDER BY id ASC",
|
||||
TableName(),
|
||||
search_string
|
||||
Strings::Escape(search_string)
|
||||
);
|
||||
|
||||
if (query_limit >= 1) {
|
||||
|
||||
Reference in new issue
Block a user