summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-04-14 06:45:35 +0200
committerjustdave%syndicomm.com <>2004-04-14 06:45:35 +0200
commit699734a99b43b601c881813db8f5a32788558c17 (patch)
tree9de69659a578d758bb4eb766b3c906a35606bd21 /editusers.cgi
parent6d413a7ccc12dcd446f15dbee9a051f52b85f270 (diff)
downloadbugzilla-699734a99b43b601c881813db8f5a32788558c17.tar.gz
bugzilla-699734a99b43b601c881813db8f5a32788558c17.tar.xz
Bug 240439: "Edit user again" link didn't work if the user had a + in their email address
R= timeless, vladd; a= justdave
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 36135a1e2..aa760b1e1 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -844,7 +844,7 @@ if ($action eq 'update') {
if ($editall && $user ne $userold) {
unless ($user) {
print "Sorry, I can't delete the user's name.";
- $userold = value_quote($userold);
+ $userold = url_quote($userold);
$localtrailer =~ s/XXX/$userold/;
push @localtrailers, $localtrailer;
PutTrailer(@localtrailers);
@@ -852,7 +852,7 @@ if ($action eq 'update') {
}
if (TestUser($user)) {
print "Sorry, user name '$user' is already in use.";
- $userold = value_quote($userold);
+ $userold = url_quote($userold);
$localtrailer =~ s/XXX/$userold/;
push @localtrailers, $localtrailer;
PutTrailer($localtrailer);
@@ -864,12 +864,12 @@ if ($action eq 'update') {
WHERE login_name=" . SqlQuote($userold));
print q|Updated user's name to <a href="mailto:| .
- value_quote($user) . '">' . html_quote($user) . "</a>.<BR>\n";
+ url_quote($user) . '">' . html_quote($user) . "</a>.<BR>\n";
}
my $changeduser = new Bugzilla::User($thisuserid);
$changeduser->derive_groups();
- $user = value_quote($user);
+ $user = url_quote($user);
$localtrailer =~ s/XXX/$user/;
push @localtrailers, $localtrailer;
PutTrailer(@localtrailers);