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

Rest API request path handle spanish text using Apache camel

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.23.2
    • Fix Version/s: None
    • Component/s: came-core, rest
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Flags:
      Important

      Description

      Actually I create rest api using apache camel. Its a Get Call.

      Request Path like this -> users/names/{username}?client={clientId}

      we will try to given username is Spanish text like this -> users/names/plánia?client=100 

      and try this also -> users/names/pl%C3%nia?client=100

      Its throw error like bad request

       

      {
         "timestamp": "2020-06-17T16:06:25.609+0000",
         "status": 400,
         "error": "Bad Request",
         "message": "Illegal Argument Specified in the Request Headers or Path",
         "path": "/users/names/plánia"
       }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              navi2hr Naveenkumar Palanisamy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: