message: fix: allow `/` char in name and location
diff: @@ -679,20 +679,10 @@ export default {
  val || this.closeDialog()
  },
  newName (val) {
  - var match = val
  - ? val.match(/[a-zA-Z\u00C0-\u024F\u1E00-\u1EFF0-9_-]+/g)
  - : [val]
  -
  - this.nameError =
  - match[0] !== val ? 'Only a-zA-Z0-9_- chars are allowed' : null
  + this.nameError = this.validateTopic(val)
  },
  newLoc (val) {
  - var match = val
  - ? val.match(/[a-zA-Z\u00C0-\u024F\u1E00-\u1EFF0-9_-]+/g)
  - : [val]
  -
  - this.locError =
  - match[0] !== val ? 'Only a-zA-Z0-9_- chars are allowed' : null
  + this.locError = this.validateTopic(val)
  },
  selectedNode () {
  if (this.selectedNode) {
  @@ -903,6 +893,13 @@ export default {
  showSnackbar (text) {
  this.$emit('showSnackbar', text)
  },
  + validateTopic (name) {
  + var match = name
  + ? name.match(/[/a-zA-Z\u00C0-\u024F\u1E00-\u1EFF0-9_-]+/g)
  + : [name]
  +
  + return match[0] !== name ? 'Only a-zA-Z0-9_- chars are allowed' : null
  + },
  selectNode (item) {
  if (!item) return
  