зеркало из https://github.com/mozilla/gecko-dev.git
bug 122418 - setting attachment status fails taint checks. Just needed to
detaint after checking. r=gerv,kiko
This commit is contained in:
Родитель
7bd72fa102
Коммит
b56c24f1b4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче