Chat responses in WSL with code blocks reference incorrect path to file

Windows 11 using Cursor with WSL Ubuntu.

If I attach a file to chat context (eg, index.html) and the response contains a textual answer with a clickable link to index.html as well as a codeblock (that is clickable) suggestion for index.html:

  • the clickable link within the textual answer is correct, eg takes me to: /app/src/index.html

  • but clicking on the codeblock suggestion within the same chat reply opens up \home<username><project>\app\src\index.html, that because it doesn’t exist, prompts me to create a file.

is this a cursor thing, a wsl thing or have I configured something incorrectly?