зеркало из https://github.com/mozilla/pjs.git
Patch for bug 250259: Fix taint error on disallownew field in editproducts.cgi; patch by GavinS <bugzilla@chimpychompy.org>; r=vladd, a=justdave.
This commit is contained in:
Родитель
83a1538cf3
Коммит
34a66d4708
|
@ -1092,7 +1092,7 @@ if ($action eq 'update') {
|
|||
milestones READ");
|
||||
|
||||
if ($disallownew ne $disallownewold) {
|
||||
$disallownew ||= 0;
|
||||
$disallownew = $disallownew ? 1 : 0;
|
||||
SendSQL("UPDATE products
|
||||
SET disallownew=$disallownew
|
||||
WHERE id=$product_id");
|
||||
|
|
Загрузка…
Ссылка в новой задаче