mirror of
https://github.com/rommapp/romm.git
synced 2026-12-04 12:52:19 +01:00
A self-hosted PLAYMATCH_API_URL on a LAN IP, localhost, or a Docker service name is rejected by the shared HTTP client's SSRF defense before connecting, so health checks and lookups fail. Add a narrowly scoped allowlist, derived from the admin-configured provider URL, that both SSRF gates (the static URL hook and the connect-time backend) honor. The exception is matched by exact host and port, and the public default URL is unaffected since public addresses already pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>