Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11372

camel-http version 2.13.0 doesn't support URLEncoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.13.0
    • None
    • camel-http
    • None
    • Unknown

    Description

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

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            kap.vikas@gmail.com Vikas Kapoor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: