Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1821

Cannot set cookie domain to wildcard version of exact host

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.0.4, 2.1
    • 1.6.2, 2.0.3
    • SSO
    • None

    Description

      If Crowd is sitting on example.com, you are not able to set the cookie domain to .example.com. This should be allowed, see http://stackoverflow.com/questions/1062963/how-do-browser-cookie-domains-work

      Relevant code is in UpdateGeneral.java:

                  if (!(domain.equals("") || domain.equals(actualDomain) || (domain.startsWith(".") && actualDomain.endsWith(domain))))
                  {
                      addFieldError("domain", getText("options.domain.invalid"));
                  }
      

      Attachments

        Activity

          People

            evzijst Erik van Zijst (Inactive)
            shamid@atlassian.com shihab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: