adamrk opened PR #15373 from adamrk:abk/windows-fs/back50 to bytecodealliance:release-50.0.0:
This commit is a behavioral adjustment for the implementation of WASI on
Windows to disallow the:character from being anywhere within paths
provided by the guest. The purpose of this change is to fix a bug in
Wasmtime where the path./C:foowas misinterpreted where parts of
Wasmtime would seeC:fooas a normal path component and other parts
would see it as a drive-relative path which would possible move outside
of the sandbox. Windows already disallows colons in file names anyway
and blanket disallowing them additionally removes the ability to deal
with an apparent feature of NTFS which uses colons to put data in
separately named streams on disk.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
adamrk removed the review request for wasmtime-wasi-reviewers from PR #15373.
adamrk requested rvolosatovs for a review on PR #15373.
adamrk requested wasmtime-wasi-reviewers for a review on PR #15373.
adamrk removed the review request for wasmtime-default-reviewers from PR #15373.
adamrk requested fitzgen for a review on PR #15373.
adamrk requested wasmtime-default-reviewers for a review on PR #15373.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #15373.
:check: alexcrichton merged PR #15373.
Last updated: Nov 19 2026 at 20:05 UTC