aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/url_security.py (unfollow)
Commit message (Collapse)Author
2026-08-10fix(receiver): prevent requests to non-public addressesDennis Fink
Resolve source hostnames before fetching and reject addresses that are not globally routable to prevent SSRF against local or private services. Repeat the check for every HTTP request so redirects cannot bypass the initial source validation. Treat DNS resolution failures during verification as temporary fetch errors.