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

camel-http version 2.13.0 doesn't support URLEncoding

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.13.0
    • Fix Version/s: None
    • Component/s: camel-http
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: