Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coder/agentapi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88f64c8
Choose a base ref
...
head repository: coder/agentapi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2213e2b
Choose a head ref
  • 6 commits
  • 5 files changed
  • 2 contributors

Commits on Aug 7, 2025

  1. feat: allowed hosts

    hugodutka committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    f1b18a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. fix: strip port from host

    hugodutka committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    d2400b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2025

  1. feat(http): optional X-Forwarded-Host support for host authorization\…

    …n\nAdds --use-x-forwarded-host CLI flag and ServerConfig.UseXForwardedHost.\nWhen enabled, the middleware prefers X-Forwarded-Host (first value, before comma),\nparses and matches hostname ignoring port. Includes tests for enabled/disabled,\nports, IPv6, and comma-separated cases.\n\nCo-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
    blink-so[bot] committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    6fa56b6 View commit details
    Browse the repository at this point in the history
  2. test(cli): assert default and env/precedence for --use-x-forwarded-ho…

    …st\n\nExtend CLI tests to cover default false, env var AGENTAPI_USE_X_FORWARDED_HOST,\nand CLI overrides env precedence.\n\nCo-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
    blink-so[bot] committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    bbf9102 View commit details
    Browse the repository at this point in the history
  3. docs(readme): document --use-x-forwarded-host and env var\n\nExplain …

    …when to enable, behavior (first value, comma-trimming, hostname-only, IPv6),\nand security considerations (trusted proxy).\n\nCo-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
    blink-so[bot] committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    7f9234f View commit details
    Browse the repository at this point in the history
  4. Update README.md

    hugodutka authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    2213e2b View commit details
    Browse the repository at this point in the history
Loading