mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Properly escape where clause
This commit is contained in:
@@ -1445,7 +1445,7 @@ local $dropsql = $drop ? "--add-drop-table" : "";
|
||||
local $singlesql = $single ? "--single-transaction" : "";
|
||||
local $forcesql = $force ? "--force" : "";
|
||||
local $quicksql = $quick ? "--quick" : "";
|
||||
local $wheresql = $where ? "\"--where=$in{'where'}\"" : "";
|
||||
local $wheresql = $where ? "--where=".quotemeta($in{'where'}) : "";
|
||||
local $charsetsql = $charset ?
|
||||
"--default-character-set=".quotemeta($charset) : "";
|
||||
local $compatiblesql = @$compatible ?
|
||||
|
||||
Reference in New Issue
Block a user