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

Cannot set cookie domain to wildcard version of exact host

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

      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"));
                  }
      

              evzijst Erik van Zijst (Inactive)
              shamid@atlassian.com shihab
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: