Skip to content

reject backslash in grape ivy coordinate validation#2581

Merged
paulk-asert merged 1 commit into
apache:masterfrom
netliomax25-code:grapeivy-version-validation-backslash
Jun 1, 2026
Merged

reject backslash in grape ivy coordinate validation#2581
paulk-asert merged 1 commit into
apache:masterfrom
netliomax25-code:grapeivy-version-validation-backslash

Conversation

@netliomax25-code
Copy link
Copy Markdown
Contributor

The coordinate check in createGrabRecord rejects / : " < > | in version and revision values, but the character class leaves out the backslash it claims to forbid, so a value such as ....\x slips through on Windows and is later interpolated into grape cache file paths. GrapeMaven already escapes the backslash in the same class; this brings GrapeIvy in line.

@testlens-app
Copy link
Copy Markdown

testlens-app Bot commented May 31, 2026

✅ All tests passed ✅

🏷️ Commit: 0670be1
▶️ Tests: 99969 executed
⚪️ Checks: 22/22 completed


Learn more about TestLens at testlens.app.

@paulk-asert paulk-asert merged commit aef9b1d into apache:master Jun 1, 2026
23 checks passed
@paulk-asert
Copy link
Copy Markdown
Contributor

Merged, thanks! I think this is already protected at the Ivy level but doesn't harm to also include it here.

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