Skip to content

Conversation

@bitterpanda63
Copy link
Member

@bitterpanda63 bitterpanda63 commented Feb 5, 2026

Summary by Aikido

Security Issues: 0 πŸ” Quality Issues: 1 Resolved Issues: 0

⚑ Enhancements

  • Normalized paths to remove '/./' sequences and collapse slashes.

πŸ”§ Refactors

  • Replaced ensureOneLeadingSlash with private normalizePath and imports and adjusted callers accordingly.

More info

@bitterpanda63 bitterpanda63 changed the title Update by also parsing /./ java path traversal injections Normalizes path to prevent path traversal with "/./" Feb 5, 2026
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...nerabilities/path_traversal/UnsafePathChecker.java 88.88% 0 Missing and 1 partial ⚠️

πŸ“’ Thoughts on this report? Let us know!

@bitterpanda63 bitterpanda63 merged commit 7c36b23 into main Feb 6, 2026
209 checks passed
@bitterpanda63 bitterpanda63 deleted the unsafe-patch-checker-update-current-dir-mention branch February 6, 2026 13:05
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