mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Revert "Escape to prevent command expansion"
This reverts commit 20f947e7e5.
This commit is contained in:
@@ -622,12 +622,7 @@ else {
|
||||
sub escapestr
|
||||
{
|
||||
local $rv = $_[0];
|
||||
|
||||
# Prevent escaping query
|
||||
$rv =~ s/'/''/g;
|
||||
|
||||
# Prevent escaping command
|
||||
$rv =~ s/"/\\"/g;
|
||||
return $rv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user