Changes between Initial Version and Version 1 of Ticket #28119


Ignore:
Timestamp:
Apr 24, 2017, 7:30:37 AM (7 years ago)
Author:
Ali Kaafarani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28119

    • Property Type UncategorizedNew feature
  • Ticket #28119 – Description

    initial v1  
    1616}}}
    1717
    18 Expected result: `response.cookies['csrftoken']['domain']` was set to `SERVER_NAME` (default would be `testserver`).
     18Expected result: `response.cookies['csrftoken']['domain']` was set to the value of `SERVER_NAME` (default would be `testserver`).
    1919Rationale: 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)
    2020
     
    4242
    4343Expected 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.
     44Rationale: Using `SERVER_NAME`, the client should simulate browser behaviour by not sending cookies incorrectly to different hostnames.
    4545
Back to Top