# extension_host: Replace backslashes with forward slashes for cwd on Windows \(\#38072\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/85f7bb62770e7f6c80402c2528c520e2717a2b24)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 85f7bb62770e7f6c80402c2528c520e2717a2b24

Requested commit: 85f7bb62770e7f6c80402c2528c520e2717a2b24

Commit: 85f7bb62770e7f6c80402c2528c520e2717a2b24

Tree: 316d0351126da30bd2c2f0f0233967a57987e649

Author: Jakub Konka

Committer: GitHub

## Message

```
extension_host: Replace backslashes with forward slashes for cwd on Windows (#38072)

Instead of passing CWD verbatim from the Windows host with backslashes
and all, we now rewrite it into a more POSIX-happy format featuring
forward slashes which means `std::path::Path` operations now work within
WASI with Windows-style paths.

Release Notes:

- N/A
```

## Parents

- [7377a898e8592c5b60e479baf49556cfa669428b](https://git.cafe/gitcafe/zed/commit/7377a898e8592c5b60e479baf49556cfa669428b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/85f7bb62770e7f6c80402c2528c520e2717a2b24?format=markdown)
