Skip to content

WASIp3 set-path-and-query normalizes an empty path for OPTIONS #11780

Open

Description

@wingo

Quoth RFC 9110 §4.2.3:

When not being used as the target of an OPTIONS request, an empty path component is equivalent to an absolute path of "/", so the normal form is to provide a path of "/" instead.

However Wasmtime always normalizes "" to "/", even if the method is set to OPTIONS.

Related to WebAssembly/WASI#780.

Activity

  1. added
    bugIncorrect behavior in the current implementation that needs fixing
    on Oct 2, 2025
  2. added
    wasi:implIssues pertaining to WASI implementation in Wasmtime
    on Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixingwasi:implIssues pertaining to WASI implementation in Wasmtimewasi:spec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions