You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Raphael Wegmueller (JIRA)" <ji...@apache.org> on 2009/12/30 14:31:29 UTC
[jira] Updated: (SLING-1256) Util.fixEncoding(ParameterMap) should
ignore case when comparing encodings
[ https://issues.apache.org/jira/browse/SLING-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raphael Wegmueller updated SLING-1256:
--------------------------------------
Attachment: Util.patch
patch for Util.java
> Util.fixEncoding(ParameterMap) should ignore case when comparing encodings
> --------------------------------------------------------------------------
>
> Key: SLING-1256
> URL: https://issues.apache.org/jira/browse/SLING-1256
> Project: Sling
> Issue Type: Improvement
> Components: Engine
> Affects Versions: Engine 2.0.6
> Reporter: Raphael Wegmueller
> Priority: Minor
> Attachments: Util.patch
>
>
> when posting content with parameter _charset_ set to "utf-8", but the Content-Type header is set to "application/x-www-form-urlencoded; charset=UTF-8", Util.fixEncoding(ParameterMap) will reencode the content, which breaks most special characters.
> since there seems to be no accord on whether encodings should be submitted upper or lower case, sling should simply ignore the case when comparing them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.