Skip to content

v3.3.6

Choose a tag to compare

@github-actions github-actions released this 18 Oct 19:17
· 4 commits to main since this release

Fixed in v3.3.6

Two bugs blocked any API that needs a lowercase JSON field or a Content-Type.

  • Injection targets are no longer rewritten. --query, --body-field, --form-field and --header put the target in a proxy control header name, which Go canonicalises on both sides of the wire, so channel arrived as Channel and x-request-id as X.Request.Id. Targets now travel in the header value (X-AS-Inject-Body: channel=SLACK_CHANNEL_ID) and are repeatable.
  • JSON bodies get a Content-Type. A plain --body went upstream untyped. It now defaults to application/json, and --set-header Name=Value sets any plain header explicitly.

The legacy header-name form still parses, so existing scripts keep working. After upgrading, restart a running proxy with agentsecrets proxy restart.


Changelog

  • 04697bf fix(call): preserve injection targets and type JSON bodies

Full release notes for v3.3.6: https://agentsecrets.tech/docs/changelog/v3-x

Changelog

  • 04697bf fix(call): preserve injection targets and type JSON bodies