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

Rest API request path handle spanish text using Apache camel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 2.23.2
    • None
    • came-core, rest
    • None
    • Unknown
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: