You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Vikas Kapoor (JIRA)" <ji...@apache.org> on 2017/05/31 15:03:04 UTC

[jira] [Created] (CAMEL-11372) camel-http version 2.13.0 doesn't support URLEncoding

Vikas Kapoor created CAMEL-11372:
------------------------------------

             Summary: 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


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)