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

Avoid building query strings by string concatenation in DatasetDisplay

    Details

      Description

      Instead of building query strings via concatenation, we should use the corresponding browser API (URLSearchParams):

      https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams

      This is available in all browsers that we target, and IE is supported via a polyfill, even in 7.1.x:

      https://github.com/liferay/liferay-portal-ee/blob/bafb4d50364948748e74ff7f236a18afc050ceb1/modules/apps/frontend-compatibility/frontend-compatibility-ie/build.gradle#L59

        Attachments

          Activity

            People

            Assignee:
            fabio.mastrorilli Fabio Mastrorilli
            Reporter:
            greg.hurrell Greg Hurrell (Inactive)
            Engineering Assignee:
            Greg Hurrell (Inactive)
            Recent user:
            Enterprise Release HU
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                7.1.X