Skip to content

Commit

Permalink
ACM-7582: Fix underscore in url name (stolostron#3078)
Browse files Browse the repository at this point in the history
Signed-off-by: Maggie Chen <[email protected]>
  • Loading branch information
chenz4027 authored Sep 28, 2023
1 parent 92967cd commit dd5b5de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const getUniqueChannelName = (channelPath, groupControlData) => {
channelName = _.replace(channelName, /\./g, '')
channelName = _.replace(channelName, /:/g, '')
channelName = _.replace(channelName, /\//g, '-')
channelName = _.replace(channelName, /_/g, '-')

channelName = _.trimEnd(channelName, '-')
channelName = channelName.toLowerCase()
Expand Down

0 comments on commit dd5b5de

Please sign in to comment.