Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that request.origin cannot be "client" at certain points #1776

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 24, 2024

  1. Clarify that request.origin cannot be "client" at certain points

    Previously, the code implicitly guaranteed that a requests
    origin could not be "client" after Step 10 of
    https://fetch.spec.whatwg.org/#concept-fetch.
    
    Other algorithms then simply relied on this fact. This is
    confusing. Instead, we now explicitly assert that the origin
    is not client whereever we need it.
    
    Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
    simonwuelker committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    0bf150f View commit details
    Browse the repository at this point in the history