Changes between Initial Version and Version 1 of Ticket #28119
- Timestamp:
- Apr 24, 2017, 7:30:37 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28119
- Property Type Uncategorized → New feature
-
Ticket #28119 – Description
initial v1 16 16 }}} 17 17 18 Expected result: `response.cookies['csrftoken']['domain']` was set to `SERVER_NAME` (default would be `testserver`).18 Expected result: `response.cookies['csrftoken']['domain']` was set to the value of `SERVER_NAME` (default would be `testserver`). 19 19 Rationale: Browsers do this, according to the specification: https://tools.ietf.org/html/rfc2965 (4.3.1 Interpreting Set-Cookie: Domain Defaults to the request-host) 20 20 … … 42 42 43 43 Expected result: On step 4, the client does not include the cookie with non-matching domain name. 44 Rationale: Using SERVER_NAME, the client should simulate browser behaviour by not sending cookies incorrectly to different hostnames.44 Rationale: Using `SERVER_NAME`, the client should simulate browser behaviour by not sending cookies incorrectly to different hostnames. 45 45