mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-05 01:27:28 +00:00
[PR #156] [CLOSED] fix: support Windows filesystem paths #142
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/open-terminal#142
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-terminal/pull/156
Author: @mikemikimike
Created: 8/18/2026
Status: ❌ Closed
Base:
main← Head:fix/windows-compatibility-issue-154📝 Commits (2)
4b814cdfix: support Windows filesystem pathsc838df3Merge branch 'main' into fix/windows-compatibility-issue-154📊 Changes
3 files changed (+33 additions, -2 deletions)
View changed files
📝
open_terminal/main.py(+3 -1)📝
open_terminal/utils/fs.py(+1 -1)➕
tests/test_windows_compatibility.py(+29 -0)📄 Description
Summary
Fixes #154.
/files/serve/{path}instead of prepending/toC:/...paths.os.access(path, os.W_OK)wheneffective_ids=Trueis unsupported on Windows.Compatibility
This preserves the existing leading-slash behavior for POSIX and relative paths. On Windows, drive-letter paths are passed through unchanged. No API changes are introduced.
Verification
pytest -q tests/test_windows_compatibility.py— 2 passed (one existing pytest deprecation warning)python -m compileall -q open_terminal— passedgit diff --check— passedThe full test suite was not run because the repository currently has no existing test suite beyond the focused regression coverage added here. Docker image builds were not run because this change is limited to Python unit behavior and does not alter image configuration.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.