From: myk%mozilla.org <> Date: Wed, 28 Jan 2004 09:44:41 +0000 (+0000) Subject: Fix validation problem (unescaped ampersands) by making the program listing be CDATA. X-Git-Tag: bugzilla-2.17.7~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9044f51b81000e6bf639fa07ff2730ab29fd670b;p=thirdparty%2Fbugzilla.git Fix validation problem (unescaped ampersands) by making the program listing be CDATA. --- diff --git a/docs/xml/customization.xml b/docs/xml/customization.xml index 67877f9ca8..c85505c1f0 100644 --- a/docs/xml/customization.xml +++ b/docs/xml/customization.xml @@ -584,7 +584,7 @@ } This says that only users in the group "quality_assurance" can change the QA Contact field of a bug. Getting more weird: - if (($field eq "priority") && + user->email =~ /.*\@example\.com$/)) { if ($oldvalue eq "P1") { @@ -593,7 +593,7 @@ else { return 0; } - } + }]]> This says that if the user is trying to change the priority field, and their email address is @example.com, they can only do so if the old value of the field was "P1". Not very useful, but illustrative.