camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-11372) camel-http version 2.13.0 doesn't support URLEncoding
Date Wed, 31 May 2017 15:20:04 GMT

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

Andrea Cosentino reassigned CAMEL-11372:
----------------------------------------

    Assignee: Andrea Cosentino

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

Mime
View raw message