mirror of https://github.com/gorhill/uBlock.git
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',
|
'yes', 'y', 'no', 'n',
|
||||||
'ok',
|
'ok',
|
||||||
'accept', 'reject',
|
'accept', 'reject',
|
||||||
'allow',
|
'allow', 'deny',
|
||||||
];
|
];
|
||||||
if ( validValues.includes(value.toLowerCase()) === false ) {
|
if ( validValues.includes(value.toLowerCase()) === false ) {
|
||||||
if ( /^\d+$/.test(value) === false ) { return; }
|
if ( /^\d+$/.test(value) === false ) { return; }
|
||||||
|
|
Loading…
Reference in New Issue