Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-930

Setting default encoding doesn't affect HttpServletRequest.characterEncoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1, 1.4.10.Final
    • 1.4.0.Final
    • Servlet
    • None
    • Wildfly 10

      HttpServletRequest.getCharacterEncoding return null when defaultEncoding was set in DeploymentInfo or in the undertow subsystem:

      <subsystem xmlns="urn:jboss:domain:undertow:3.1">
          ...
          <servlet-container name="default" default-encoding="UTF-8">
              <jsp-config/>
              <websockets/>
          </servlet-container>
          ...
      </subsystem>
      

      Due to this problem can not be specified default encoding for web services

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              a.osipov_jira Artemy Osipov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: