Skip to content

Conversation

@cceckman-at-fastly
Copy link
Contributor

Reject ranges where the start position ("from") comes after the end position ("to").

These don't have a good definition of how they should behave; reject them.

Reject ranges where the start position ("from") comes after the end
position ("to"), when nonzero.
@cceckman-at-fastly cceckman-at-fastly marked this pull request as ready for review May 22, 2025 14:59
Copy link
Member

@dgryski dgryski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@cceckman-at-fastly cceckman-at-fastly merged commit 11fceb8 into main May 22, 2025
11 checks passed
@cceckman-at-fastly cceckman-at-fastly deleted the cceckman/range-err branch May 22, 2025 19:35
cceckman-at-fastly added a commit to fastly/js-compute-runtime that referenced this pull request Jun 4, 2025
These are rejected in Go as of
fastly/compute-sdk-go#165,
and in Rust as of PR 5097 in that repository.

This is a guest (SDK/runtime) change rather than a host change so as not
to break users that may accidentallly rely on this "feature"; hopefully
their next SDK upgrade will highlight the issue.
cceckman-at-fastly added a commit to fastly/js-compute-runtime that referenced this pull request Jun 11, 2025
These are rejected in Go as of
fastly/compute-sdk-go#165,
and in Rust as of PR 5097 in that repository.

This is a guest (SDK/runtime) change rather than a host change so as not
to break users that may accidentallly rely on this "feature"; hopefully
their next SDK upgrade will highlight the issue.
cceckman-at-fastly added a commit to fastly/js-compute-runtime that referenced this pull request Jun 11, 2025
These are rejected in Go as of
fastly/compute-sdk-go#165,
and in Rust as of PR 5097 in that repository.

This is a guest (SDK/runtime) change rather than a host change so as not
to break users that may accidentallly rely on this "feature"; hopefully
their next SDK upgrade will highlight the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants