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
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.