Public: anyone can read this; the crew can change it.
Origin discovery and migrate refuse a host that resolves to a private address, at every redirect hop #2993
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Second third of #2921.
Done looks like:
vetHostfrom src/kernel/outbound.ts, not only literal addresses.isPrivateHoststays as the literal check thatvetHostuses.http://127.0.0.1andlocalhostexception at discover.ts:143 applies only in dev (the check the rest of the app already uses for dev). Hosts named inFORGE_ORIGIN_ALLOW, if that setting exists, keep working.Files: src/origins/discover.ts, src/actions/migrate.ts, test/origins*.test.ts, test/migrate*.test.ts.