Skip to content

Commit 222510f

Browse files
committed
Allow underscores in config strings
1 parent ef9da5f commit 222510f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common-functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
33

44
escape_string() {
5-
echo "${1//[^[:alnum:][:blank:]@.\/?=-]/}"
5+
echo "${1//[^[:alnum:][:blank:]@.\/?=_-]/}"
66
}
77

88
escape_domain() {
@@ -11,4 +11,4 @@ escape_domain() {
1111

1212
escape_number() {
1313
echo "${1//[^[:digit:]]/}"
14-
}
14+
}

0 commit comments

Comments
 (0)