Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
699734a9
Commit
699734a9
authored
Apr 14, 2004
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 240439: "Edit user again" link didn't work if the user had a + in their email address
R= timeless, vladd; a= justdave
parent
6d413a7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
editusers.cgi
editusers.cgi
+4
-4
No files found.
editusers.cgi
View file @
699734a9
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment