1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Revert "Allow final dot (root zone)"

This reverts commit 0b5da9f0da.

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2023-03-14 19:42:05 +01:00
parent 0b5da9f0da
commit 71e262c37f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ initialize_debug() {
# This is a function for visually displaying the current test that is being run. # This is a function for visually displaying the current test that is being run.
# Accepts one variable: the name of what is being diagnosed # Accepts one variable: the name of what is being diagnosed
# Colors do not show in the dasboard, but the icons do: [i], [✓], and [✗] # Colors do not show in the dashboard, but the icons do: [i], [✓], and [✗]
echo_current_diagnostic() { echo_current_diagnostic() {
# Colors are used for visually distinguishing each test in the output # Colors are used for visually distinguishing each test in the output
# These colors do not show in the GUI, but the formatting will # These colors do not show in the GUI, but the formatting will

View File

@ -552,7 +552,7 @@ parseList() {
# adapted from https://stackoverflow.com/a/30007882 # adapted from https://stackoverflow.com/a/30007882
# supported ABP style: ||subdomain.domain.tlp^ # supported ABP style: ||subdomain.domain.tlp^
valid_domain_pattern="([a-z0-9]([a-z0-9_-]{0,61}[a-z0-9]){0,1}\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.?" valid_domain_pattern="([a-z0-9]([a-z0-9_-]{0,61}[a-z0-9]){0,1}\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]"
abp_domain_pattern="\|\|${valid_domain_pattern}\^" abp_domain_pattern="\|\|${valid_domain_pattern}\^"