Skip to content

fix: cross-platform absolute path validation#78

Closed
josstei wants to merge 1 commit into
mainfrom
fix/validation-cross-platform-absolute-paths
Closed

fix: cross-platform absolute path validation#78
josstei wants to merge 1 commit into
mainfrom
fix/validation-cross-platform-absolute-paths

Conversation

@josstei
Copy link
Copy Markdown
Owner

@josstei josstei commented Apr 29, 2026

Summary

  • Harden relative-path checks to reject Windows drive, UNC, and rooted absolute paths in addition to POSIX absolutes.
  • Apply the same validation logic in session state helpers so filesystem-facing reads and writes stay consistent.
  • Add regression coverage for the new path forms in unit tests.

Testing

  • Passed focused unit tests for validation and session-state helpers.
  • Passed the full npm test suite.

@josstei josstei force-pushed the fix/validation-cross-platform-absolute-paths branch from 1325d22 to 7c72c21 Compare April 29, 2026 02:57
@josstei josstei changed the title Fix cross-platform absolute path validation fix: cross-platform absolute path validation Apr 29, 2026
@josstei josstei closed this Jun 1, 2026
@josstei josstei deleted the fix/validation-cross-platform-absolute-paths branch June 1, 2026 02: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.

1 participant