From 6d348ff980d4483f0337750b7d3831b0b21da341 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 7 Apr 2006 05:17:40 +0000 Subject: Bug 332906: Wrong parameters passed to sudo sessions when trying to bypass validation checks - Patch by Frédéric Buclin r/a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- relogin.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'relogin.cgi') diff --git a/relogin.cgi b/relogin.cgi index 1aef30e10..0d772f9eb 100755 --- a/relogin.cgi +++ b/relogin.cgi @@ -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')); -- cgit v1.2.3-24-g4f1b