Skip to content

Commit

Permalink
Special rule for vercel.app
Browse files Browse the repository at this point in the history
This issue are taking care of one of our time biggest phishing network

See:

- https://kb.mypdns.org/issue/MTX-1402
- mypdns/matrix#1400

By adding the HTTP code 451, we should be able to remove any outdated records

Closes #407

Signed-off-by: spirillen <[email protected]>
  • Loading branch information
spirillen authored Dec 9, 2024
1 parent 93de509 commit 8eb12e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PyFunceble/checker/availability/extras/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def __init__(self, status: Optional[AvailabilityCheckerStatus] = None) -> None:
r"\.sz.id$": [(self.switch_to_down_if_status_code, 302)],
r"\.translate\.goog$": [(self.switch_to_down_if_status_code, 403)],
r"\.tumblr\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.vercel\.app$": [(self.switch_to_down_if_status_code, 451)],
r"\.web\.app$": [(self.switch_to_down_if_status_code, 404)],
r"\.wix\.com$": [(self.switch_to_down_if_status_code, 404)],
r"^s3\.ap-south-1\.amazonaws\.com$": [
Expand Down

0 comments on commit 8eb12e9

Please sign in to comment.