Skip to content

Commit

Permalink
Add a few more cookie names
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Nov 12, 2023
1 parent e9ddd99 commit 308030a
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 @@ -3400,6 +3400,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 308030a

Please sign in to comment.