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

Implement AcceptParentDomainCookies API

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 3.0.12
    • 3.0.2
    • Java, Java-Android
    • Security Level: Public
    • None
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            blake.meike Blake Meike
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty