aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-06 14:27:01 +0000
committerDavid Lawrence <dkl@mozilla.com>2014-10-06 14:27:01 +0000
commit7b8e0ab40feb210cca2bbe9c83e94bde8b36dec5 (patch)
tree7eb32d7e6af4f0d57bf0e4cccb35de70177bd6d3 /token.cgi
parentBug 1072490: Release notes for 4.4.6 (diff)
downloadbugzilla-7b8e0ab40feb210cca2bbe9c83e94bde8b36dec5.tar.gz
bugzilla-7b8e0ab40feb210cca2bbe9c83e94bde8b36dec5.tar.bz2
bugzilla-7b8e0ab40feb210cca2bbe9c83e94bde8b36dec5.zip
Bug 1075578: [SECURITY] Improper filtering of CGI arguments
r=dkl,a=sgreen
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 013ab17e3..05cb30c9f 100755
--- a/token.cgi
+++ b/token.cgi
@@ -309,7 +309,7 @@ sub confirm_create_account {
my $otheruser = Bugzilla::User->create({
login_name => $login_name,
- realname => $cgi->param('realname'),
+ realname => scalar $cgi->param('realname'),
cryptpassword => $password});
# Now delete this token.