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

Implement AcceptParentDomainCookies API

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 3.0.8
    • 3.0.2
    • .NET
    • Security Level: Public
    • None
    • Jim 99
    • 2

    Description

      Spec : https://docs.google.com/document/d/1tyShUOgYB4D25GX__X73gnBb782ZV3tanIJgeeySTzA

      • @param db The C4Databaser instance.
      • @param setCookieHeader The "Set-Cookie" header.
      • @param fromHost The host address of the request.
      • @param fromPath The path of the request.
      • @param acceptParentDomain Whether to allow the "Domain" property of the cookie to be a parent domain of the host address. It should match the option, kC4ReplicatorOptionAcceptParentDomainCookies, in C4ReplicatorParameters.
      • @param outError Records error information, if any.
      • @return true if the cookie is successfully saved..
        */
        CBL_CORE_API bool c4db_setCookie(C4Database *db,
        C4String setCookieHeader,
        C4String fromHost,
        C4String fromPath,
        bool acceptParentDomain,
        C4Error* C4NULLABLE outError) C4API;

      Attachments

        Issue Links

          Activity

            People

              jimb Jim Borden
              pasin Pasin Suriyentrakorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty