You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/26 16:21:51 UTC

[jira] Created: (CAMEL-2995) charset parser should cater for quotes, both single and double quotes

charset parser should cater for quotes, both single and double quotes
---------------------------------------------------------------------

                 Key: CAMEL-2995
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2995
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-http
    Affects Versions: 2.3.0
            Reporter: Claus Ibsen
             Fix For: 2.5.0


See nabble
http://camel.465427.n5.nabble.com/issue-with-encoding-when-using-HTTP-component-td2227887.html#a2227887

I bet many systems may report charset in different ways such as
{code}
Content-Type:text/xml;charset="utf-8" 
Content-Type:text/xml;charset='utf-8' 
Content-Type:text/xml;charset=utf-8 
{code}

We should ensure that we support all ways of setting this. And there may also be spaces between so we should trim and whatnot.

The code in 2.4 may have been improved. Just creating a ticket to be sure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2995) charset parser should cater for quotes, both single and double quotes

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-2995.
---------------------------------

    Resolution: Fixed

> charset parser should cater for quotes, both single and double quotes
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-2995
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2995
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/issue-with-encoding-when-using-HTTP-component-td2227887.html#a2227887
> I bet many systems may report charset in different ways such as
> {code}
> Content-Type:text/xml;charset="utf-8" 
> Content-Type:text/xml;charset='utf-8' 
> Content-Type:text/xml;charset=utf-8 
> {code}
> We should ensure that we support all ways of setting this. And there may also be spaces between so we should trim and whatnot.
> The code in 2.4 may have been improved. Just creating a ticket to be sure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2995) charset parser should cater for quotes, both single and double quotes

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60929#action_60929 ] 

Claus Ibsen commented on CAMEL-2995:
------------------------------------

Maybe camel-mail also have such an issue?

If possible create a util method in camel-core so it can be used in other components.

> charset parser should cater for quotes, both single and double quotes
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-2995
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2995
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/issue-with-encoding-when-using-HTTP-component-td2227887.html#a2227887
> I bet many systems may report charset in different ways such as
> {code}
> Content-Type:text/xml;charset="utf-8" 
> Content-Type:text/xml;charset='utf-8' 
> Content-Type:text/xml;charset=utf-8 
> {code}
> We should ensure that we support all ways of setting this. And there may also be spaces between so we should trim and whatnot.
> The code in 2.4 may have been improved. Just creating a ticket to be sure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-2995) charset parser should cater for quotes, both single and double quotes

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-2995:
-----------------------------------

    Assignee: Willem Jiang

> charset parser should cater for quotes, both single and double quotes
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-2995
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2995
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/issue-with-encoding-when-using-HTTP-component-td2227887.html#a2227887
> I bet many systems may report charset in different ways such as
> {code}
> Content-Type:text/xml;charset="utf-8" 
> Content-Type:text/xml;charset='utf-8' 
> Content-Type:text/xml;charset=utf-8 
> {code}
> We should ensure that we support all ways of setting this. And there may also be spaces between so we should trim and whatnot.
> The code in 2.4 may have been improved. Just creating a ticket to be sure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.