Commit 6d348ff9 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 332906: Wrong parameters passed to sudo sessions when trying to bypass…

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
parent 424ece4d
......@@ -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'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment