Skip to content

Commit

Permalink
CQI-96: fixed regex processing to satisfy security requirements (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski authored Oct 19, 2023
1 parent 21bb446 commit a40b038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UserSearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class UserSearcher extends Component {
errorItems={errorUsers}
contributionKey={USER_SEARCHER_CONTRIBUTION_KEY}
tableTitle={formatMessageWithValues(intl, "admin.user", "userSummaries", {
count: usersPageInfo.totalCount?.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","),
count: usersPageInfo.totalCount?.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,"),
})}
fetch={this.fetch}
rowIdentifier={(r) => r.uuid}
Expand Down

0 comments on commit a40b038

Please sign in to comment.