stricklandrbls commented on PR #1382:
URL: https://github.com/apache/daffodil-vscode/pull/1382#issuecomment-3308604297

   @JeremyYao @CoverRyan @michael-hoke @naga-panchumarty - The errors you had 
been seeing previously were due to a pathing object conversion issue for the 
Svelte static files, specifically the _index.html_. 
   
   When injecting the nonce values into the HTML source, the 
`SvelteWebviewInitializer` was passing the _index.html_ Uri path as `.fsPath` 
property from the `vscode.Uri` type. Changing this to remove this conversion 
resolves the issue on Windows.
   
   I believe it's because that `.fsPath` and `.path` properties prepend those 
string value with a `\`. So the head of the path properties were `\c:\` and I 
think Windows sees that initial slash and automatically makes the path 
canonical, converting it to `C:\c:\...`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to