Skip to content

Improve 'trusted-set-cookie-reload' — prevent infinite reload for constantly changing values #489

Open
@jellizaveta

Description

@jellizaveta

Currently, if we pass in the date values for trusted-set-cookie-reload to the arguments, it causes an infinite reload because the value we are comparing inside the scriptlet function is constantly changing

Steps to reproduce:

  1. Add to the user rules:
    example.org#%#//scriptlet('trusted-set-cookie-reload', 'example', '$currentISODate$')
  2. Go to example.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions