Uploaded image for project: 'ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)'
  1. ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  2. LEP-4775

Content type/encoding was usually returned as 'text/html' rather than 'text/html;charset=UTF-8'

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.3.7, 4.4.0
    • None
    • None

    Description

      1) This is because the struts contentType

      /struts-config/controller/@contentType

      was not set, and defaults to "text/html"

      2) And also because the default jsp contentType is "text/html" and we are loading (deprecated) /html/common/themes/sound_alerts.jsp, which doesn't include /html/common/init.jsp (where we have the contentType for jsp's set)

      Attachments

        Activity

          People

            raymond.auge Raymond Auge
            raymond.auge Raymond Auge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                4.3.7
                4.4.0