ALlow deletion of users with funny characters http://virtualmin.com/node/21484

This commit is contained in:
Jamie Cameron
2012-03-10 10:08:47 -08:00
parent c84a57b19a
commit 6466469ebe
3 changed files with 3 additions and 1 deletions

View File

@ -278,7 +278,7 @@ if ($gconfig{'debug_what_sql'}) {
}
&webmin_debug_log('SQL', "db=$_[0] sql=$sql".$params);
}
if ($sql !~ /^\s*\\/) {
if ($sql !~ /^\s*\\/ && !$main::disable_postgresql_escaping) {
$sql =~ s/\\/\\\\/g;
}
if ($driver_handle &&