gemini-cli PR Fixes Case-Sensitive Path Check That Broke Windows File Routing

mydd7 · ghdev · 2026-09-09

PR #29247 in google-gemini/gemini-cli fixes isWithinRoot(), which compared paths with case-sensitive === and startsWith. On Windows, differing drive-letter or folder casing (c:\ vs C:\) made valid in-root paths appear outside the root, breaking ACP/IDE FS routing and ignore-path normalization. The fix reuses isSubpath(), which already handles case-insensitivity on Windows and Darwin; the macOS /private alias path is preserved. Includes validation steps and tests for drive-letter casing, path-component casing, and different drives.

Original post →

More from coding & agent

coding & agent channel →