Implement AcceptParentDomainCookies API

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;

Activity

Show:

CB robot June 3, 2023 at 12:28 AM

Build couchbase-lite-android-3.0.12-2 contains couchbase-lite-java-ee-root commit 36e7dcd with commit message:
: Implement AcceptParentDomainCookies API (Kotlin Extensions) (#116)

CB robot June 3, 2023 at 12:28 AM

Build couchbase-lite-android-3.0.12-2 contains couchbase-lite-java-ce commit d43f015 with commit message:
: Implement AcceptParentDomainCookies API (Kotlin Extensions)

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 30, 2023 at 7:29 PM
Updated June 13, 2023 at 5:42 PM
Resolved June 2, 2023 at 8:12 PM
Instabug