mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
Add 'deny' as valid value for set-cookie (#3897)
AG added it as well.
6f36f888bb
This commit is contained in:
parent
0eccb6ba44
commit
da8fe2f950
@ -2901,7 +2901,7 @@ function setCookie(
|
||||
'yes', 'y', 'no', 'n',
|
||||
'ok',
|
||||
'accept', 'reject',
|
||||
'allow',
|
||||
'allow', 'deny',
|
||||
];
|
||||
if ( validValues.includes(value.toLowerCase()) === false ) {
|
||||
if ( /^\d+$/.test(value) === false ) { return; }
|
||||
|
Loading…
Reference in New Issue
Block a user