summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2005-10-28 19:25:44 +0200
committerwurblzap%gmail.com <>2005-10-28 19:25:44 +0200
commite942748a69920c86a7eaba517c9a74223da52edb (patch)
tree079e269973b81226df1bd21a557c3e6581f68229 /sanitycheck.cgi
parentf9fc614717e56785e40ef7a0a5ed4cd77ecbcdc4 (diff)
downloadbugzilla-e942748a69920c86a7eaba517c9a74223da52edb.tar.gz
bugzilla-e942748a69920c86a7eaba517c9a74223da52edb.tar.xz
Bug 313941: sanitycheck should quote bad values so empty values are apparent
Patch by Matt McHenry <mmchenry@carnegielearning.com> r=wurblzap, a=justdave
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 0ae58591c..317464749 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -302,7 +302,7 @@ sub CrossCheck {
while (MoreSQLData()) {
my ($value, $key) = FetchSQLData();
if (!$exceptions{$value}) {
- my $alert = "Bad value $value found in $refertable.$referfield";
+ my $alert = "Bad value &quot;$value&quot; found in $refertable.$referfield";
if ($keyname) {
if ($keyname eq 'bug_id') {
$alert .= ' (bug ' . BugLink($key) . ')';
@@ -463,7 +463,7 @@ sub DoubleCrossCheck {
while (MoreSQLData()) {
my ($value1, $value2, $key) = FetchSQLData();
- my $alert = "Bad values $value1, $value2 found in " .
+ my $alert = "Bad values &quot;$value1&quot;, &quot;$value2&quot; found in " .
"$refertable.$referfield1 / $refertable.$referfield2";
if ($keyname) {
if ($keyname eq 'bug_id') {