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

Remove Path=/ requirement #49

Merged
merged 2 commits into from
Aug 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ For more information about the design of the Origin-Trial, see the [documentatio
- [Third-party customer support widgets](#third-party-customer-support-widgets)
- [CDN load balancing](#cdn-load-balancing)
- [How to enforce design principles](#how-to-enforce-design-principles)
- [`Secure` and `Path` attributes](#secure-and-path-attributes)
- [`Secure` attribute](#secure-attributes)
- [`HttpOnly` attribute](#httponly-attribute)
- [`SameSite` attribute](#samesite-attribute)
- [`SameParty` attribute](#sameparty-attribute)
Expand Down Expand Up @@ -333,7 +333,7 @@ These steps could be added to [section 5.4 of RFC6265bis](https://datatracker.ie

1. If the cookie-attribute-list contains an attribute with an attribute-name of "PartitionKey" and the attribute-value is null, then skip the following steps and insert the cookie into the cookie store.

1. 1. If the cookie-attribute-list does not contain an attribute with an attribute-name of `Secure` and an attribute with an attribute-name of `Path` and attribute-value of `/` then abort these steps and ignore the cookie entirely.
1. If the cookie-attribute-list does not contain an attribute with an attribute-name of `Secure` then abort these steps and ignore the cookie entirely.

1. If the cookie line also contains the [`SameParty` attribute](https://github.com/cfredric/sameparty) (the exact semantics of how the `SameParty` attribute is loaded into the cookie-attribute-list is TBD) then abort the following steps and ignore the cookie entirely.

Expand Down Expand Up @@ -421,9 +421,9 @@ When the browser navigates to another top-level site, then subsequent requests t

### How to enforce design principles

#### `Secure` and `Path` attributes
#### `Secure` attribute

User agent must reject any cookie set with `Partitioned` that does not also include the `Secure` and `Path=/`.
User agent must reject any cookie set with `Partitioned` that does not also include the `Secure`.

#### `HttpOnly` attribute

Expand Down