Skip to content

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

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1000840345
Oct 21, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1000840345

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

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

  • A UI reached over loopback under another name, such as through a same-machine proxy or a hosts-file alias, needs its origin in adk.web.cors.origins.
  • With -Dhost=0.0.0.0, open the UI at http://localhost:{port}: the server now rejects the http://0.0.0.0 origin.

@copybara-service copybara-service Bot changed the title fix(dev): reject DNS-rebinding requests that reach the ADK Web server over loopback fix(dev): reject DNS-rebinding requests that reach the server over loopback Oct 21, 2026
…opback

- A UI reached over loopback under another name, such as through a same-machine proxy or a hosts-file alias, needs its origin in `adk.web.cors.origins`.
- With `-Dhost=0.0.0.0`, open the UI at `http://localhost:{port}`: the server now rejects the `http://0.0.0.0` origin.

PiperOrigin-RevId: 1003763445
@copybara-service
copybara-service Bot merged commit 1ae5078 into main Oct 21, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_1000840345 branch October 21, 2026 09:07
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