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

Property substitutions can no longer be properly escaped for OSGI configs

    Details

      Description

       

      Steps to Reproduce

      1. Create the following OSGI config for Comments:
        • Filename: com.liferay.comment.configuration.CommentGroupServiceConfiguration.config
        • Content:
          emailFromName="$\\{server-property://foo/bar\\}"
          
      1. Startup Liferay
      2. Deploy the created config file into ${LIFERAY_HOME}/osgi/configs
      3. Navigate to Control Panel > Configuration > System Settings > Comments
      4. Observe the value for: Email from Name

      Expected Result:

      ${server-property://foo/bar}
      

      Actual Result:

      ${server-property://foo/bar\}
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 weeks, 6 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.3 CE GA4
                  Master