struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] [Commented] (WW-3824) Ajax request encoding case is different than non-ajax encoding
Date Wed, 30 May 2012 08:49:23 GMT


Hudson commented on WW-3824:

Integrated in Struts2 #483 (See [])
    WW-3824 changes encoding definition to uppercase for Ajax requests to match specification
(Revision 1344143)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/

> Ajax request encoding case is different than non-ajax encoding
> --------------------------------------------------------------
>                 Key: WW-3824
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>    Affects Versions: 2.3.3
>            Reporter: Pelladi Gabor
>            Assignee: Lukasz Lenart
>            Priority: Trivial
>             Fix For: 2.3.5
>         Attachments: WW-3824.diff
> This is related to WW-3796: Error at setting character encoding if the parameters have
been already read.
> For all non-ajax requests, the default encoding is "UTF-8", defined in
> For all ajax requests, the encoding is forced to "utf-8", defined in,
line 684.
> Note that the first is upper-case, the other is lower-case.
> In the applyEncoding method, the encoding is compared case sensitive, so UTF-8 and utf-8
are not equal.
> The patch changes utf-8 to UTF-8. The reference in the source comment at that line:
says: "Let encoding be UTF-8."
> This way the applyEncoding method will function as one would expect.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message