Skip to content

Commit

Permalink
Add a few more cookie names (#3907)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr authored Nov 12, 2023
1 parent d24b2d8 commit 32fb93c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/resources/scriptlets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3417,6 +3417,7 @@ function setCookie(
'true', 't', 'false', 'f',
'y', 'n',
'yes', 'no',
'necessary', 'required',
];
if ( validValues.includes(value.toLowerCase()) === false ) {
if ( /^\d+$/.test(value) === false ) { return; }
Expand Down

0 comments on commit 32fb93c

Please sign in to comment.