mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-31 11:10:55 +00:00
Replace possible "\#" by "#". This fixes AdminLTE#1427
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
13a49b0753
commit
2b1bc6a46e
@ -226,7 +226,8 @@ SetDNSServers() {
|
||||
IFS=',' read -r -a array <<< "${args[2]}"
|
||||
for index in "${!array[@]}"
|
||||
do
|
||||
add_setting "PIHOLE_DNS_$((index+1))" "${array[index]}"
|
||||
# Replace possible "\#" by "#". This fixes AdminLTE#1427
|
||||
add_setting "PIHOLE_DNS_$((index+1))" "${array[index]//\\#/#}"
|
||||
done
|
||||
|
||||
if [[ "${args[3]}" == "domain-needed" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user