bug 122418 - setting attachment status fails taint checks. Just needed to

detaint after checking.
r=gerv,kiko
This commit is contained in:
bbaetz%student.usyd.edu.au 2002-02-04 22:16:18 +00:00
Родитель 7bd72fa102
Коммит b56c24f1b4
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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);
}
}