Skip to content

Normalize paths in unsafe path checker for current directory#585

Open
bitterpanda63 wants to merge 1 commit intomainfrom
update-current-dir-check-for-unsafe-path-checker
Open

Normalize paths in unsafe path checker for current directory#585
bitterpanda63 wants to merge 1 commit intomainfrom
update-current-dir-check-for-unsafe-path-checker

Conversation

@bitterpanda63
Copy link
Member

@bitterpanda63 bitterpanda63 commented Feb 6, 2026

/./ becomes /

Summary by Aikido

Security Issues: 0 Quality Issues: 0 Resolved Issues: 0

⚡ Enhancements

  • Added normalize_path function that lowercased and cleaned path strings
  • Normalized current directory patterns by removing '/./' and merging slashes

🔧 Refactors

  • Replaced ensure_one_leading_slash usage with normalize_path calls across codebase

More info

@bitterpanda63 bitterpanda63 changed the title Normalizes paths in unsafe path checker for current directory Normalize paths in unsafe path checker for current directory Feb 6, 2026
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