From: bbaetz%student.usyd.edu.au <> Date: Tue, 5 Feb 2002 06:16:18 +0000 (+0000) Subject: bug 122418 - setting attachment status fails taint checks. Just needed to X-Git-Tag: bugzilla-2.16rc1~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15fc6e6632c6a360b5f620cf929084a07a4c403;p=thirdparty%2Fbugzilla.git bug 122418 - setting attachment status fails taint checks. Just needed to detaint after checking. r=gerv,kiko --- diff --git a/attachment.cgi b/attachment.cgi index 5996aa86d0..368ad702e2 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -257,6 +257,8 @@ sub validateStatuses || DisplayError("One of the statuses you entered is not a valid status for this attachment.") && exit; + # We have tested that the status is valid, so it can be detainted + detaint_natural($status); } }