Only add space for forward slash
This commit is contained in:
parent
bff7365bd2
commit
cd8e7f1ad1
1 changed files with 2 additions and 2 deletions
|
@ -120,9 +120,9 @@
|
|||
query.flags.urlName = true
|
||||
query.name =
|
||||
url
|
||||
?.replaceAll(/(http)|(https)/g, "")
|
||||
?.replace(/(http)|(https)|[{}:]/g, "")
|
||||
?.replaceAll(".", "_")
|
||||
?.replace(/[:/{}]/g, " ")
|
||||
?.replaceAll("/", " ")
|
||||
?.trim() || inputUrl
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue