Use paranthesis in the safe keys (needed for Graphite) (#2239)

This commit is contained in:
Peter Hedenskog 2019-01-01 16:38:12 +01:00 committed by GitHub
parent 58259bcec2
commit 1f409d7f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ function joinNonEmpty(strings, delimeter) {
}
function toSafeKey(key) {
return key.replace(/[.~ /+|,:?&%]|%7C/g, '_');
return key.replace(/[.~ /+|,:?&%)(]|%7C/g, '_');
}
module.exports = {