Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import two fixes #1867

Merged
merged 5 commits into from
Aug 19, 2021
Merged

Import two fixes #1867

merged 5 commits into from
Aug 19, 2021

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Aug 18, 2021

Add #1862 and #1863 to the beta testing

Daxtorim and others added 5 commits August 10, 2021 21:02
Stop timer when user reenabled blocking early
If no extended DNS errors are available, the "ede" variable is assigned an undefined array value, hence "ede" is undefined. Since the length method is not available on undefined variables, a TypeError is thrown later in the script, which breaks the DNS queries view in the admin panel.

This commit solves the issue by assigning an empty string, if no EDE is available (data[11] is undefined).

Signed-off-by: MichaIng <[email protected]>
Fix TypeError if no extended DNS error is available
@DL6ER DL6ER added the Beta label Aug 18, 2021
@DL6ER DL6ER requested a review from a team August 18, 2021 19:39
@DL6ER DL6ER merged commit a2ff508 into release/v5.6 Aug 19, 2021
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-ftl-v5-9-web-v5-6-and-core-v5-4-released/49544/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants