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

Ensure that Weblogic serves back UTF8 javascript files

    Details

      Description

      Besides setting –Dfile.encoding=UTF-8, if weblogic is accessed directly, the following should be set too:

      <mime-mapping>
      <extension>xml</extension>
      <mime-type>text/xml</mime-type>
      </mime-mapping>
      
      <mime-mapping>
      <extension>js</extension>
      <mime-type>text/javascript</mime-type>
      </mime-mapping>
      

      The good test is CKEditor, as its files have BOM character and loading would fail if above is not set.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1