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

available_languages.jsp has wrong content type on Wildfly 8.2

    Details

      Description

      Wildfly 8 overrides the response header (Content-type) set in the available_languages.jsp and then Chrome refuse to interpret the javascript.

      Setting the JSP page level contentType works as expected.

      <%@ page language="java" contentType="text/javascript;charset=UTF-8"
          pageEncoding="UTF-8"%>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 22 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP22
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master