You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (JIRA)" <ji...@apache.org> on 2014/09/24 04:28:33 UTC

[jira] [Updated] (OFBIZ-5787) HttpClient does not support charset name with quotation mark around

     [ https://issues.apache.org/jira/browse/OFBIZ-5787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated OFBIZ-5787:
------------------------
    Attachment: OFBIZ-5787.patch

remove quotation marks from charset name extracted from http response header.

> HttpClient does not support charset name with quotation mark around
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-5787
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5787
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Leon
>             Fix For: Trunk
>
>         Attachments: OFBIZ-5787.patch
>
>
> In RFC2045 (Section 5.1) there is:
> "Content-type: text/plain; charset=us-ascii (Plain text)
> Content-type: text/plain; charset="us-ascii"
> are completely equivalent".
> In current revision, if the 'Content-Type' of http response includes the quotation mark around the charset name, HttpClient throws out unsupported encoding exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)