Stream: git-wasmtime

Topic: wasmtime / PR #13697 Allow bracketed IPv6 authorities wit...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2026 at 16:54):

modernzju opened PR #13697 from modernzju:main to bytecodealliance:main:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

This updates the wasi-http p3 set_authority validation to allow bracketed IPv6 authorities without an explicit port, such as [::].

Previously p3 treated any : in the authority string as indicating a port. That incorrectly rejected bracketed IPv6 literals without ports because their colons are part of the host. This keeps the existing validation for invalid ports, such as bad-port:99999, while only treating a bracketed IPv6 authority as having a port when the suffix after ] starts with :.

A test case was added to align p3 behavior with the existing p2 coverage for [::]:443 and [::].

Testing:

view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2026 at 16:54):

modernzju requested dicej for a review on PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2026 at 16:54):

modernzju requested wasmtime-wasi-reviewers for a review on PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2026 at 16:54):

modernzju requested wasmtime-core-reviewers for a review on PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2026 at 15:14):

:thumbs_up: dicej submitted PR review:

Thanks! Would you mind rebasing this and fixing the conflict?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2026 at 16:24):

fitzgen added the label wasi-http on PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2026 at 16:24):

fitzgen added the label enhancement on PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2026 at 20:01):

dicej updated PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2026 at 20:01):

dicej has enabled auto merge for PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2026 at 20:11):

dicej added PR #13697 Allow bracketed IPv6 authorities without ports in wasi-http p3 to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2026 at 20:35):

:check: dicej merged PR #13697.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2026 at 20:35):

dicej removed PR #13697 Allow bracketed IPv6 authorities without ports in wasi-http p3 from the merge queue.


Last updated: Jul 29 2026 at 05:03 UTC