Problem/Motivation

SessionConfiguration::getCookieDomain() retrieves the cookie domain value that should be used. It does some basic sanity-checking on the value and returns NULL if it is not a valid domain attribute for the set-cookie header. However, this is not properly documented and also the sanity-check appears to have an IPv4 bias, so adding to that inline documentation to explain why it is OK as-is.

Steps to reproduce

This is a docs-only bug.

Proposed resolution

Clarify docs.

Remaining tasks

Review.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

n/a

Issue fork drupal-3347443

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bradjones1 created an issue. See original summary.

bradjones1’s picture

Status: Active » Needs review
rohan-sinha’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new562.49 KB

Reviewed the MR, Doc value is corrected, can be merged, thanks.

longwave’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 088568e546 to 10.1.x and 6d74e7951e to 10.0.x and 1bb008826c to 9.5.x. Thanks!

  • longwave committed 6d74e795 on 10.0.x
    Issue #3347443 by bradjones1: SessionConfiguration::getCookieDomain()...

  • longwave committed 088568e5 on 10.1.x
    Issue #3347443 by bradjones1: SessionConfiguration::getCookieDomain()...

  • longwave committed 1bb00882 on 9.5.x
    Issue #3347443 by bradjones1: SessionConfiguration::getCookieDomain()...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.