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

Path or query parameter is not allowed to have "+" character

    XMLWordPrintableJSON

Details

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

    Description

      Hi,

       

      I have a URL like 

      https://example.eu/v1/operator/%23%23%23%2B1%21000000000025

      When I pass this URL to camel ahc, it converts the URL to 

      https://idissuer.test.de.id-issuer.eu/v1/operator/%23%23%23+1!000000000025.

       

      This is happening in UnsafeUriCharactersEncoder.encodeHttpUri method.

      Even though "+" or "!" are not unsafe characters, it should be allowed to pass them as path parameter or query parameter.

       

       

      Attachments

        Activity

          People

            vrlgohel Viral Gohel
            sms0070 SUYASH MANI SHARMA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: