Cannot set cookie domain to wildcard version of exact host

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.0.4, 2.1
    • Affects Version/s: 1.6.2, 2.0.3
    • Component/s: 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"));
                  }
      

            Assignee:
            Erik van Zijst (Inactive)
            Reporter:
            shihab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: