Fix 'trusted-set-cookie-reload' — website is not reloaded if '$now$' value is used #291
Labels
bug
Something isn't working
Priority: P4
Release: v1.9.37
Resolution: Fixed
Status: Closed
Version: Scriptlets v1.9
It seems that website is not reloaded if rule like this:
is used.
Probably the problem is with
value === cookieValue
here:Scriptlets/src/helpers/cookie-utils.js
Lines 126 to 138 in 85e6beb
The
value
is$now$
, butcookieValue
is created byDate.now().toString()
, so it's something like1677324255603
and function returnsfalse
.The text was updated successfully, but these errors were encountered: