зеркало из https://github.com/mozilla/pjs.git
Bug 332906: Wrong parameters passed to sudo sessions when trying to bypass validation checks - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r/a=justdave
This commit is contained in:
Родитель
7a3dc1a516
Коммит
fef205a1f6
|
@ -121,8 +121,8 @@ elsif ($action eq 'begin-sudo') {
|
|||
&& ($token_data eq 'sudo_prepared'))
|
||||
{
|
||||
ThrowUserError('sudo_preparation_required',
|
||||
{ target_login => $cgi->param('target_login'),
|
||||
reason => $cgi->param('reason')});
|
||||
{ target_login => scalar $cgi->param('target_login'),
|
||||
reason => scalar $cgi->param('reason')});
|
||||
}
|
||||
Bugzilla::Token::DeleteToken($cgi->param('token'));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче