Skip to content

Fix tart set --disk when TART_HOME contains spaces - #1374

Merged
yzhuang-oai merged 1 commit into
openai:mainfrom
WenJing95:fix/set-disk-percent-encoded-path
Oct 15, 2026
Merged

yzhuang-oai merged 1 commit into
openai:mainfrom
WenJing95:fix/set-disk-percent-encoded-path

Conversation

@WenJing95

Copy link
Copy Markdown
Contributor

tart set --disk copies the new disk into $TART_HOME/tmp, but it builds the destination with URL.path(), which percent-encodes it. If TART_HOME has a space, the destination ends up as .../Tart%20Home/tmp/..., the copy fails, and the error says the source disk doesn't exist.
Now it uses path(percentEncoded: false), same as #1328. Added a test with a space in TART_HOME.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T15:41:50.334629Z ab160c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@yzhuang-oai
yzhuang-oai self-requested a review October 15, 2026 22:41
@yzhuang-oai
yzhuang-oai merged commit e8e9744 into openai:main Oct 15, 2026
1 check 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.

2 participants