Skip to content

Commit

Permalink
Bug 1648493. r=kershaw, a=RyanVM
Browse files Browse the repository at this point in the history
  • Loading branch information
valenting authored and Alex Kontos committed Sep 21, 2020
1 parent 83be374 commit e023e3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netwerk/base/nsStandardURL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,7 @@ nsresult nsStandardURL::SetUsername(const nsACString& input) {
}
shift = ReplaceSegment(pos, len, escUsername);
mUsername.mLen = escUsername.Length() > 0 ? escUsername.Length() : -1;
mUsername.mPos = pos;
}

if (shift) {
Expand Down

0 comments on commit e023e3d

Please sign in to comment.