Skip to content

Commit

Permalink
Add hide and hidden to set-cookie (#3918)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Jun 14, 2024
1 parent 62fdd8b commit bdb9986
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 @@ -3785,6 +3785,7 @@ function setCookie(
'yes', 'y', 'no', 'n',
'necessary', 'required',
'approved', 'disapproved',
'hide', 'hidden',
];
const normalized = value.toLowerCase();
const match = /^("?)(.+)\1$/.exec(normalized);
Expand Down

0 comments on commit bdb9986

Please sign in to comment.