1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 02:42:41 +01:00

Add a few more cookie names (#3907)

This commit is contained in:
Fanboynz 2023-11-13 06:51:58 +13:00 committed by GitHub
parent d24b2d8165
commit 32fb93c525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; }