Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
File citation truncates paths at spaces, producing non-clickable links for filenames with spaces
Steps to Reproduce
- Create a project with 2 files: “some_file.md” and “some file.md”
- Add text “som_text” to both files
- Ask an agent to find all ‘some_text’ occurrences and cite them
- Find that some_file.md is cited correctly and the link is clickable (both filename in text and in citation header), but link to “some file.md” is truncated to “some” at the header and is not clickable.
Expected Behavior
Correct links to files with spaces at name in agent window
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.7.27
VS Code Extension API: 1.105.1
Commit: e48ee6102a199492b0c9964699bf011886708ba0
Date: 2026-06-10T01:46:16.942Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 24.6.0
For AI issues: which model did you use?
Auto
Does this stop you from using Cursor
No - Cursor works, but with this issue
