ui: fix extension path with name having special characters (#11489)

Fixes #11481

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2025-09-02 18:19:01 +05:30 committed by GitHub
parent 76ef8d31f8
commit 3ddd8023d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ export default {
if (!value || value.length === 0) { if (!value || value.length === 0) {
return '' return ''
} }
return value.replace(/[^a-zA-Z0-9._-]/g, '').toLowerCase() return value.replace(/[^a-zA-Z0-9._-]/g, '_').toLowerCase()
}, },
extenstionBasePath () { extenstionBasePath () {
return (this.$store.getters.features.extensionspath || '[EXTENSIONS_PATH]') + '/' + this.safeName + '/' return (this.$store.getters.features.extensionspath || '[EXTENSIONS_PATH]') + '/' + this.safeName + '/'