diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-03-09 16:54:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 16:54:15 +0300 |
commit | 0ca7356bbeb37074495d98896a7f8ed6d28eeaa1 (patch) | |
tree | 5f61a7c48aaae5ad68b61efae8cd7a1921eabd29 /js/piwik.js | |
parent | ddb12120d76d114499be19b788c3b0b3241a2af4 (diff) |
fix #15681 secure cookie flag is not set for referrer and custom dimensions (#15683)
* fix #15681 secure cookie flag is not set for referrer and custom dimensions
* rebuilt piwik.js
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/piwik.js b/js/piwik.js index 5fb12e6ef3..31e05210de 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -3587,7 +3587,7 @@ if (typeof window.Piwik !== 'object') { purify(referralUrl.slice(0, referralUrlMaxLength)) ]; - setCookie(cookieReferrerName, windowAlias.JSON.stringify(attributionCookie), configReferralCookieTimeout, configCookiePath, configCookieDomain); + setCookie(cookieReferrerName, windowAlias.JSON.stringify(attributionCookie), configReferralCookieTimeout, configCookiePath, configCookieDomain, configCookieIsSecure); } } @@ -3682,7 +3682,7 @@ if (typeof window.Piwik !== 'object') { } if (configStoreCustomVariablesInCookie) { - setCookie(cookieCustomVariablesName, windowAlias.JSON.stringify(customVariables), configSessionCookieTimeout, configCookiePath, configCookieDomain); + setCookie(cookieCustomVariablesName, windowAlias.JSON.stringify(customVariables), configSessionCookieTimeout, configCookiePath, configCookieDomain, configCookieIsSecure); } } |