Skip to content

fix(harness): handle bare percent signs in web_fetch URLs - #4345

Merged
Buktal merged 1 commit into
agentscope-ai:mainfrom
Buktal:fix/web-fetch-bare-percent
Nov 23, 2026
Merged

Buktal merged 1 commit into
agentscope-ai:mainfrom
Buktal:fix/web-fetch-bare-percent

Conversation

@Buktal

@Buktal Buktal commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

web_fetch percent-encodes stray % signs in URL paths and queries, while preserving valid %HH escapes.

Closes #4342.

Evidence

  • Before: ?format=%l:+%c fails with Malformed escape pair.
  • After: bare percent signs are sent as %25; valid escapes remain unchanged.
  • Validation: WebToolsTest — 17 tests passed.

Merge Danger

Door: Two-way

Blast Radius: Low

@Buktal
Buktal merged commit decbe55 into agentscope-ai:main Nov 23, 2026
8 of 9 checks passed
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.

web_fetch rejects bare percent signs in URLs

2 participants