Skip to content

Rebuild checked paths from the repository root - #48

Merged
Pixnop merged 1 commit into
devfrom
chore/s8707-canonical
Sep 2, 2026
Merged

Rebuild checked paths from the repository root#48
Pixnop merged 1 commit into
devfrom
chore/s8707-canonical

Conversation

@Pixnop

@Pixnop Pixnop commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The boolean guard from the last pass did not satisfy the taint analysis: the opened value was still the raw argument. The path check() receives is now rebuilt as REPO joined with the argument's repo-relative form, so what gets opened is derived from the repository root by construction, with ValueError refusing anything outside and the existing OSError handling covering anything missing.

@Pixnop
Pixnop merged commit fb2b080 into dev Sep 2, 2026
2 checks passed
@Pixnop
Pixnop deleted the chore/s8707-canonical branch September 2, 2026 16:29
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