Stream: git-wasmtime

Topic: wasmtime / PR #7490 wasi-http: Reject delete of forbidden...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 19:56):

elliottt opened PR #7490 from elliottt:trevor/forbidden-delete to bytecodealliance:main:

Disallow fields.delete on forbidden headers. This isn't a spec change, just a wasmtime behavioral change, though we may want to consider modifying the result value of delete to be result, as @JakeChampion pointed out that it's similar to a set in principle.
<!--
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
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 19:56):

elliottt requested alexcrichton for a review on PR #7490.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 19:56):

elliottt requested wasmtime-core-reviewers for a review on PR #7490.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 19:56):

elliottt requested pchickey for a review on PR #7490.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 19:57):

elliottt edited PR #7490:

Disallow fields.delete on forbidden headers. This isn't a spec change, just a wasmtime behavioral change, though we may want to consider modifying the result value of delete to be result, as @JakeChampion pointed out that it's similar to a set in principle.

The included changes to the api_proxy.rs module and wasi_http_proxy_tests test fail on main currently.
<!--
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
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 19:58):

elliottt updated PR #7490.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 22:07):

elliottt edited PR #7490:

Disallow fields.delete on forbidden headers. This isn't a spec change, just a wasmtime behavioral change. We may want to consider modifying the result value of delete to be result, as @JakeChampion pointed out that it's similar to a set in principle.

The included changes to the api_proxy.rs module and wasi_http_proxy_tests test fail on main currently.
<!--
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
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 22:27):

elliottt updated PR #7490.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 22:27):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 22:28):

elliottt edited PR #7490:

Disallow fields.delete on forbidden headers, and modifies its signature to return a result.

The included changes to the api_proxy.rs module and wasi_http_proxy_tests test fail on main currently.
<!--
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
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 22:29):

elliottt edited PR #7490:

Disallow fields.delete on forbidden headers, and modifies its signature to return a result. As @JakeChampion pointed out, delete is sort of a special form of set, so we should return a similar result.

The included changes to the api_proxy.rs module and wasi_http_proxy_tests test fail on main currently.
<!--
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
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 07 2023 at 21:06):

elliottt updated PR #7490.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 07 2023 at 22:13):

elliottt merged PR #7490.


Last updated: Nov 22 2024 at 16:03 UTC