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

Wildfly 10 - UTF-8 encoding and Undertow

    Details

    • Fix Priority:
      1

      Description

      The org.apache.catalina org.apache.catalina.connector property is being used to set UTF-8 encoding in the Wildfly 10 configuration. These properties have no impact since Wildfly now uses Undertow.

      In order to set UTF-8 encoding instead of changing:

      <system-properties>
          <property name="org.apache.catalina.connector.URI_ENCODING" value="UTF-8" />
          <property name="org.apache.catalina.connector.USE_BODY_ENCODING_FOR_QUERY_STRING" value="true" />
      </system-properties>
      

      We would change:

      <servlet-container name="default">
      

      to

      <servlet-container name="default" default-encoding="UTF-8">
      

      If this is something we should address then we should also update the docs: https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/installing-liferay-on-wildfly-10

      For more info see:

      https://developer.jboss.org/thread/274428
      https://issues.jboss.org/browse/WFLY-2276

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            id27904 id27904
            Participants of an Issue:
            Recent user:
            Sherry Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              3 years, 30 weeks, 5 days ago

                Packages

                Version Package