pi-hole / docker-pi-hole

Pi-hole in a docker container
https://pi-hole.net
Other
8.31k stars 1.11k forks source link

Can't add domain to whitelist from blockpage (missing add.php) #950

Closed alpe12 closed 2 years ago

alpe12 commented 2 years ago

This is a: Bug

Details

/pihole/index.php blockpage (accessing via a blocked domain) has a button to add the blocked domain to whitelist. But that button points to "/admin/scripts/pi-hole/php/add.php" which doesn't exist.

$ sudo docker exec -it pihole ls /var/www/html/admin/scripts/pi-hole/php/
FTL.php          debug.php       header.php     savesettings.php
api_token.php    footer.php      loginpage.php  tailLog.php
auth.php         func.php        message.php    teleporter.php
customcname.php  gravity.php     network.php    theme.php
customdns.php    gravity.sh.php  password.php   update_checker.php
database.php     groups.php      queryads.php

How to reproduce the issue

  1. Environment data

    • Operating System: Ubuntu
    • Hardware: Odroid N2
    • Kernel Architecture: ArmV8 64bit
    • Docker Install Info and version:
    • Software source: OS provided package
    • Hardware architecture: ArmV8 64bit
  2. 
    version: "3.3"

services: dnscrypt: container_name: dnscrypt-proxy image: klutchell/dnscrypt-proxy:latest networks: network: ipv4_address: 10.58.32.2 expose:

networks: network: driver: bridge ipam: config:

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

alpe12 commented 2 years ago

No changes yet.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.