Bug 346564: [SECURITY] timetracking deadline leaks in XML - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave

This commit is contained in:
lpsolit%gmail.com 2006-10-14 21:44:05 +00:00
parent 338a3333bb
commit ec1f3c9922

View File

@ -120,7 +120,7 @@ if ($cgi->param("field")) {
}
unless (Bugzilla->user->in_group(Bugzilla->params->{"timetrackinggroup"})) {
@fieldlist = grep($_ !~ /_time$/, @fieldlist);
@fieldlist = grep($_ !~ /(^deadline|_time)$/, @fieldlist);
}
foreach (@fieldlist) {