+ is %2B as well (#9624)

This commit is contained in:
Hariom Balhara 2023-06-19 16:52:13 +05:30 committed by GitHub
parent 648dd862f5
commit bb13009e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ export const getUsernameList = (users: string | string[] | undefined): string[]
const allUsers = users.map((user) =>
user
.toLowerCase()
.replace(/( |%20)/g, "+")
.replace(/( |%20|%2b)/g, "+")
.split("+")
);