Add Approved/disapproved (#3917)

This commit is contained in:
Fanboynz 2024-05-15 13:51:27 +12:00 committed by GitHub
parent e03f1a6955
commit 7f0b2f4a5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3771,6 +3771,7 @@ function setCookie(
'true', 't', 'false', 'f',
'yes', 'y', 'no', 'n',
'necessary', 'required',
'approved', 'disapproved',
];
const normalized = value.toLowerCase();
const match = /^("?)(.+)\1$/.exec(normalized);