You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henrik Karlsson (Jira)" <ji...@apache.org> on 2021/12/03 16:10:00 UTC

[jira] [Closed] (CAMEL-17268) Path parameters in rest requests are not url decoded

     [ https://issues.apache.org/jira/browse/CAMEL-17268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henrik Karlsson closed CAMEL-17268.
-----------------------------------
    Resolution: Invalid

I hade this issue a couple of weeks ago, but now I can't reproduce it...

> Path parameters in rest requests are not url decoded
> ----------------------------------------------------
>
>                 Key: CAMEL-17268
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17268
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-servlet
>    Affects Versions: 3.13.0
>            Reporter: Henrik Karlsson
>            Priority: Major
>
> Path parameter values in rest request are not url decoded before set as headers.
> Example:
> The operation GetUser has this path /users/\{email}. Then sending a request to this endpoint with [email=john.doe@acme.com|mailto:email=john.doe@acme.com] (url encoded -> /users/john.doe%40acme.com) will result in a header email=john.doe%40acme.com instead of the expected [email=john.doe@acme.com.|mailto:email=john.doe@acme.com.]
> If email would have been a query parameter instead (/users?email=john.doe%40acme.com), the value of the header email would be 'john.doe@acme.com'



--
This message was sent by Atlassian Jira
(v8.20.1#820001)