Skip to content

UIC SDK 6.0.0.1960 - createTLTSIDCookie missing samesite #2

@ustewjt

Description

@ustewjt

New parameter added to setCookie function is not used and no method to set

setCookie: function (cookieName, cookieValue, maxAge, path, domain, secure, samesite) {

     function createTLTSIDCookie() {
        var cookieValue = generateTLTSID(),
            secure = !!moduleConfig.secureTLTSID;

        // Set the session cookie
        utils.setCookie(tltCookieName, cookieValue, undefined, undefined, undefined, secure);

Would expect this code:

     function createTLTSIDCookie() {
        var cookieValue = generateTLTSID(),
            secure = !!moduleConfig.secureTLTSID,
            samesite = moduleConfig.samesite;

        // Set the session cookie
        utils.setCookie(tltCookieName, cookieValue, undefined, undefined, undefined, secure, samesite);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions