You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2017/05/31 15:23:04 UTC
[jira] [Commented] (CAMEL-11372) camel-http version 2.13.0 doesn't
support URLEncoding
[ https://issues.apache.org/jira/browse/CAMEL-11372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16031335#comment-16031335 ]
Andrea Cosentino commented on CAMEL-11372:
------------------------------------------
2.13.0 is not maintained anymore. We are currently maintaining 2.18.x, 2.19.x and master. You can try to update to a newer version
> camel-http version 2.13.0 doesn't support URLEncoding
> -----------------------------------------------------
>
> Key: CAMEL-11372
> URL: https://issues.apache.org/jira/browse/CAMEL-11372
> Project: Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 2.13.0
> Reporter: Vikas Kapoor
> Assignee: Andrea Cosentino
>
> Team,
> I was using 'camel-http' component version 2.12.1 and using the receiptList to call one of the third party API.In that, I was using the URLEncoder to encode %2F with the '/' character. This call was working fine.
> But when I upgraded the camel version to 2.13.0, it couldn't encode the %2F to the '/' character and started throwing error.
> I was wondering that latest release should have backward compatibility.
> Could you please look into this and suggest the possible solution?
> Code snippet below:-
> .recipientList(simple(getAddUserURL().concat(BACKSLASH).concat(PERMISSIONS).concat(BACKSLASH)
> + URLEncoder.encode("%2F", "UTF-8") + BACKSLASH
> + "${in.header.username}"
> + "?authUsername=" + getMqttUsername()
> + "&authPassword=" + getMqttPassword()
> + "&authMethod=Basic"));
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)