1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-10-22 22:37:05 +02:00
parent df3e9e5f51
commit 128a3ab1be
No known key found for this signature in database

View File

@ -629,9 +629,9 @@ checkDomain()
escapeDots() escapeDots()
{ {
# SC suggest bashism ${variable//search/replace}
# shellcheck disable=SC2001 # shellcheck disable=SC2001
# SH suggest bashism ${variable//search/replace} escaped=$(echo "$1" | sed 's/\./\\./g')
escaped=$(sed 's/\./\\./g' <<< "$1" )
echo "${escaped}" echo "${escaped}"
} }