[BUG] cd checking should expand ~ properly before security validation

Resolved 💬 4 comments Opened Apr 6, 2025 by mikehearn Closed Nov 29, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • Claude CLI version: 0.2.64
  • Operating System: macOS

Bug Description

ERROR: cd to '/Users/mike/Hydraulic/product/~/Hydraulic/product' was blocked.

It's safe and should be allowed.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗