Skip to content

chore: merge main (v1.0.2b7+ra.2) back into develop - #13

Merged
ra-co88 merged 4 commits into
developfrom
sync/main-into-develop-ra.2
Oct 11, 2026
Merged

ra-co88 merged 4 commits into
developfrom
sync/main-into-develop-ra.2

Conversation

@ra-co88

@ra-co88 ra-co88 commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Back-merge main after hotfix v1.0.2b7+ra.2 (PR #11, 4f687b7) so main stays an ancestor of develop. Merge commit only.

pt-act and others added 4 commits October 11, 2026 18:44
SEC-2 file:// netloc hardening. workspace._workspace_io_path now
rejects file:// URLs whose netloc is anything other than a bare drive
letter. urlparse puts the drive in netloc for the two-slash form
Windows CI builds (file://C:/...), and that is the only netloc we
accept. Anything else fails closed with 403 instead of being resolved
and tested against a host-layout-dependent allowlist:

- file://server/share/x.txt (UNC) would otherwise resolve to the local
  path /share/x.txt
- backslash paths put the whole remainder in netloc and used to
  collapse to the process cwd

Regression tests assert the hostile forms -> 403, and assert that
file://C:/... is NOT rejected as a host so the shape Windows actually
sends keeps working.

Guard only -- the version-sync gate lives in the companion
chore/version-sync-gate PR.
fix(security): reject file:// URLs that name a host (1.0.2b7+ra.2)
@ra-co88
ra-co88 merged commit 5441276 into develop Oct 11, 2026
3 checks passed
@ra-co88
ra-co88 deleted the sync/main-into-develop-ra.2 branch October 19, 2026 20:41
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