Skip to content

refactor(plugins): drop the duplicate path-escape throw - #1483

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-10775-drop-path-escape-throw
Oct 17, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-10775-drop-path-escape-throw

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Stop throwing a second path-escape denial from sanitizePath; the permission gate already hard-denies it.

Fixes CL-10775

@linear-code

linear-code Bot commented Oct 17, 2026

Copy link
Copy Markdown

CL-10775

@corbits-triage

corbits-triage Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review · Approve

sanitizePath returns an outside path instead of throwing. The permission gate still denies it with Path escapes working directory before the tool runs. Yolo outside writes are unchanged.

No findings.

@TheGreatAxios
TheGreatAxios merged commit e2b235e into main Oct 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant