Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-154529

Create a SF rule to avoid setting cookies manually in DXP codebase

    Details

      Description

      We need a SF rule so that devs cannot use `document.cookie =` in DXP, pointing them towards `Liferay.Util.Cookie` instead.

      This SF rule must allow using `document.cookie =` in our utility, which will reside in modules/apps/frontend-js/frontend-js-web/src/main/resources/META-INF/resources/liferay/util/Cookie.js.

       

      Note: implement it deactivated until the usages are applied

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            daniel.sanz Daniel Sanz
            Recent user:
            Pablo Agulla
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package