Skip to content

Commit 3ddd802

Browse files
authored
ui: fix extension path with name having special characters (#11489)
Fixes #11481 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 76ef8d3 commit 3ddd802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/extension/CreateExtension.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default {
135135
if (!value || value.length === 0) {
136136
return ''
137137
}
138-
return value.replace(/[^a-zA-Z0-9._-]/g, '').toLowerCase()
138+
return value.replace(/[^a-zA-Z0-9._-]/g, '_').toLowerCase()
139139
},
140140
extenstionBasePath () {
141141
return (this.$store.getters.features.extensionspath || '[EXTENSIONS_PATH]') + '/' + this.safeName + '/'

0 commit comments

Comments
 (0)