You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Naveenkumar Palanisamy (Jira)" <ji...@apache.org> on 2020/06/18 05:20:00 UTC
[jira] [Updated] (CAMEL-15206) Rest API request path handle spanish
text using Apache camel
[ https://issues.apache.org/jira/browse/CAMEL-15206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naveenkumar Palanisamy updated CAMEL-15206:
-------------------------------------------
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*
{code:java}
{
"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"
}
{code}
was:
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*
{{}}
{code:java}
{
"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"
}
{code}
{{}}
> Rest API request path handle spanish text using Apache camel
> ------------------------------------------------------------
>
> Key: CAMEL-15206
> URL: https://issues.apache.org/jira/browse/CAMEL-15206
> Project: Camel
> Issue Type: Bug
> Components: came-core, rest
> Affects Versions: 2.23.2
> Reporter: Naveenkumar Palanisamy
> Priority: Major
>
> 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*
>
> {code:java}
> {
> "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"
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)