Repository navigation
v3.3.6
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-fieldand--headerput the target in a proxy control header name, which Go canonicalises on both sides of the wire, sochannelarrived asChannelandx-request-idasX.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
--bodywent upstream untyped. It now defaults toapplication/json, and--set-header Name=Valuesets 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
04697bffix(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