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

Server Administration Script prints script errors on one line

    Details

      Description

      Because of log sanitization, Server Administration Script errors are logged on one line.

      The script errors don't need to be sanitized because we don't allow malicious users to access script console, considering portal admin accountable

      Steps to reproduce:
      1, Go to http://localhost:8080/group/control_panel/manage/-/server/script
      2, Change script to "Groovy" and Execute
      3, Display log files

      Expected result: There should be an error log correctly written using CRLF
      Actual result: Log error is written on one line

        Attachments

        1. fixed.png
          fixed.png
          10 kB
        2. reproduced.png
          reproduced.png
          8 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 38 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M3