Skip to content

fix(tools): reject non-string fetch_url method and headers - #54

Merged
primoco merged 1 commit into
eullm:mainfrom
Gabriele06-local:fix/fetch-url-strict-args
Oct 11, 2026
Merged

primoco merged 1 commit into
eullm:mainfrom
Gabriele06-local:fix/fetch-url-strict-args

Conversation

@Gabriele06-local

Copy link
Copy Markdown
Contributor

A numeric method silently became GET and non-string header values were silently dropped, while sibling tools bail on mistyped arguments and the callers believe what they sent. Now present-but-non-string method/headers are explicit errors; valid inputs behave exactly as before. New unit test proven to fail before (old code went to the network). Verified: fmt, clippy lib+bins exit 0, lib + agent suites green. Note: clippy --all-targets fails on Windows for a pre-existing dead_code in tests/security.rs (unix-gated callers), untouched here. I have read and agree to the Contributor Licence Agreement in CLA.md.

@primoco
primoco merged commit df79a64 into eullm:main Oct 11, 2026
3 checks passed
@primoco

primoco commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Merged thk's

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.

2 participants