Skip to content

Commit ec874b7

Browse files
committed
#20214 - add SameSite to the browsetrail cookie
1 parent ba8507f commit ec874b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/lists/admin/js/phplistapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ $(document).ready(function () {
445445
});
446446

447447
var docurl = document.location.search;
448-
document.cookie = "browsetrail=" + escape(docurl);
448+
document.cookie = "browsetrail=" + escape(docurl) +'; SameSite=Strict';
449449

450450
setInterval("autoSave();", 120000); // once every two minutes should suffice
451451

0 commit comments

Comments
 (0)