Commit 5542de6b authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add missing DBQuotespecial() when updating experiments table.

parent a0a8b5c8
......@@ -351,7 +351,9 @@ sub readXML($$$$) {
# Sanity check the fields.
if (TBcheck_dbslot($val, "experiments", $key,
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR)) {
push(@setlist, "$key='$val'");
$val = DBQuoteSpecial($val);
push(@setlist, "$key=$val");
}
else {
fatal("Illegal characters in table data: ".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment