From c71f61179a929f538cb0c9badf16264a2a244f9e Mon Sep 17 00:00:00 2001 From: spirillen <44526987+spirillen@users.noreply.github.com> Date: Thu, 26 Dec 2024 10:49:34 +0000 Subject: [PATCH] Update rules.py with `scnv.io` This fix is for https://github.com/Phishing-Database/Phishing.Database/issues/971 Whitelisting this in general would be wrong. Is is a better and safer approach. Signed-off-by: spirillen <44526987+spirillen@users.noreply.github.com> --- PyFunceble/checker/availability/extras/rules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PyFunceble/checker/availability/extras/rules.py b/PyFunceble/checker/availability/extras/rules.py index 06153f0b..cb16b129 100644 --- a/PyFunceble/checker/availability/extras/rules.py +++ b/PyFunceble/checker/availability/extras/rules.py @@ -97,6 +97,7 @@ def __init__(self, status: Optional[AvailabilityCheckerStatus] = None) -> None: r"\.imgur\.com$": [self.handle_imgur_dot_com], r"\.liveadvert\.com$": [(self.switch_to_down_if_status_code, 404)], r"\.myhuaweicloudz\.com$": [(self.switch_to_down_if_status_code, 403)], + r"^scnv\.io$": [(self.switch_to_down_if_status_code, 404)], r"\.skyrock\.com$": [(self.switch_to_down_if_status_code, 404)], r"\.squarespace.com$": [(self.switch_to_down_if_status_code, 404), self.handle_squarespace_com,