Skip to content

fix: encode non-ASCII directory paths in HTTP headers#7145

Merged
adamdotdevin merged 1 commit into
anomalyco:devfrom
jwaterwater:dev
Jan 7, 2026
Merged

fix: encode non-ASCII directory paths in HTTP headers#7145
adamdotdevin merged 1 commit into
anomalyco:devfrom
jwaterwater:dev

Conversation

@jwaterwater
Copy link
Copy Markdown
Contributor

Fixes error when directory paths contain non-ASCII characters (e.g., Chinese) by using percent-encoding for the x-opencode-directory header, as HTTP headers must be ISO-8859-1 compatible.

Fixes error when directory paths contain non-ASCII characters (e.g., Chinese) by using percent-encoding for the x-opencode-directory header, as HTTP headers must be ISO-8859-1 compatible.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 7, 2026

The following comment was made by an LLM, it may be inaccurate:

I found a related PR:

Potential Related PR:

You should check if PR #7031 is already closed/merged and whether it addresses the same root cause, as this could indicate a duplicate effort.

@adamdotdevin adamdotdevin merged commit 2d52a46 into anomalyco:dev Jan 7, 2026
1 check passed
github-actions Bot pushed a commit to yuguorui/opencode that referenced this pull request Jan 18, 2026
triklozoid pushed a commit to triklozoid/opencode that referenced this pull request Feb 2, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
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