Files
inbuxa-server/crates/services
jcoffey-dev 9511ce2a0a JMAP: deliver web push only to public addresses
A push subscription URL was refused only when its host was a local or
reserved IP literal. A host name that resolved to 127.0.0.1, a private
range or 169.254.169.254 passed, so any signed-in user could make the
server send the verification request, and every later push, to a
service inside its own network.

Push requests now connect only to public addresses. Host names are
checked when they resolve, which also covers redirects and a name that
changes its answer after the subscription is created, and push never
goes through a configured proxy. The shared check is for every request
whose destination outsiders choose.

Test: a subscription to https://localhost:<port>/push got its
verification request on the local listener on main; now nothing
connects.
2026-10-28 21:54:33 -07:00
..
2026-10-18 13:53:24 -07:00