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

Add a final newline normalization for form payloads #6287

Merged
merged 7 commits into from
May 20, 2021

Commits on Jan 13, 2021

  1. Add a final newline normalization for form payloads

    When entries are added to a form's entry list through the "append an
    entry" algorithm, their newlines are normalized, but entries can be
    added to an entry list through other means. This change adds a final
    newline normalization before serializing the form payload, since "append
    an entry" cannot be changed because its results are observable through
    the `FormData` object or through the `formdata` event.
    
    This change additionally changes the input passed to the
    `application/x-www-form-urlencoded` and `text/plain` serializers to be a
    list of name-value pairs, where the values are strings rather than
    `File` objects. This simplifies the serializer algorithms.
    
    Closes whatwg#6247. Closes whatwg/url#562.
    Andreu Botella committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    18dcc3c View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Merge branch 'main' into newlines-in-form-payloads

    Andreu Botella committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    930cb20 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Move the multipart/form-data normalizations to the multipart/form-dat…

    …a algorithm section.
    Andreu Botella committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    98abf83 View commit details
    Browse the repository at this point in the history
  2. Reword the notes about double normalization.

    Andreu Botella committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    fdcfcb0 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. nits

    annevk committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    99a4be8 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Delete notes about double normalization.

    Andreu Botella committed May 3, 2021
    Configuration menu
    Copy the full SHA
    b96d053 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    33c9931 View commit details
    Browse the repository at this point in the history