Skip to content

fix(dev): reject DNS-rebinding requests that reach the ADK Web server over loopback - #1671

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1000840345
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1000840345

Conversation

@copybara-service

Copy link
Copy Markdown

fix(dev): reject DNS-rebinding requests that reach the ADK Web server over loopback

  • Rejects a non-loopback Host when server.address is a loopback address, and a non-loopback Origin on a request that arrives over loopback, unless the origin is listed in adk.web.cors.origins. A same-machine proxy that serves the UI under another name needs its origin listed.

… over loopback

- Rejects a non-loopback `Host` when `server.address` is a loopback address, and a non-loopback `Origin` on a request that arrives over loopback, unless the origin is listed in `adk.web.cors.origins`. A same-machine proxy that serves the UI under another name needs its origin listed.

PiperOrigin-RevId: 1000840345
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants