[jboss-jira] [JBoss JIRA] (WFLY-2533) Add ability to set default character encoding on a subsystem level

Leandro Kersting de Freitas (JIRA) issues at jboss.org
Tue May 12 01:52:19 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067110#comment-13067110 ] 

Leandro Kersting de Freitas edited comment on WFLY-2533 at 5/12/15 1:51 AM:
----------------------------------------------------------------------------

{code}
opt/wildfly/bin/jboss-cli.sh --connect --command="/subsystem=undertow/servlet-container=default:write-attribute(name=use-listener-encoding,value=true)"
opt/wildfly/bin/jboss-cli.sh --connect --command="/subsystem=undertow/servlet-container=default:write-attribute(name=default-encoding,value=UTF-8)"
{code}



was (Author: leandro.freitas):
{quote}
opt/wildfly/bin/jboss-cli.sh --connect --command="/subsystem=undertow/servlet-container=default:write-attribute(name=use-listener-encoding,value=true)"
opt/wildfly/bin/jboss-cli.sh --connect --command="/subsystem=undertow/servlet-container=default:write-attribute(name=default-encoding,value=UTF-8)"
{quote}

> Add ability to set default character encoding on a subsystem level
> ------------------------------------------------------------------
>
>                 Key: WFLY-2533
>                 URL: https://issues.jboss.org/browse/WFLY-2533
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Web (Undertow)
>            Reporter: Stuart Douglas
>            Assignee: Tomaz Cerar
>             Fix For: 8.0.0.CR1
>
>
> Stuart: the charset one should be pretty simple, just an attribute on <servlet-container?
> Stuart: ideally we would also have it in jboss-web.xml as well
> Stuart: I should also add an option to use the connector encoding
> Stuart: as connectors have their own encoding set
> Stuart: that is used to decode the URL
> Stuart: we should have an option to use the connector encoding as the default encoding



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list