Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4098

Provide option to Save Cookie with Domain being a parent domain of the request

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 3.1.0
    • 3.0.2
    • LiteCore
    • Security Level: Public
    • None
    • LiteCore 98
    • 3

    Description

      c4db_setCookie(_c4db, "id=a3fWa; Domain=.aa.com; Secure; HttpOnly", "sg.np.bags.aa.com", "", &err) expected to work but got (ps. changing host to www.aa.com still gets the same error)

      2023-1-12 06:32:12.827-08:00 [4]| WARNING)  [Database] Cookie Domain isn't legal
      2023-1-12 06:32:12.829-08:00 [4]| WARNING)  [Database] Rejecting invalid cookie in setCookie! 

      Attachments

        Issue Links

          Activity

            People

              jianmin.zhao Jianmin Zhao
              sandy.chuang Sandy Chuang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty