[
https://issues.apache.org/jira/browse/CAMEL-24747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bartosz Popiela updated CAMEL-24747:
------------------------------------
Description:
[CAMEL-22511|https://issues.apache.org/jira/browse/CAMEL-22511] introduced URL
encoding of kamelet parameters when toD is used. Hence, behaviour of custom
kamelets is inconsistent depending whether it is invoked with `to` or `toD`.
Also, there is no way to pass URL special characters (e.g. % or +) to the
kamelet when using toD.
See the [test
case|https://github.com/bartoszpop/CAMEL-24747/blob/main/src/test/java/io/github/bartoszpop/camel/Camel27474Test.java]
for details.
This change is very invasive and might break many kamelets which take URL as a
parameter. Would you consider reverting
[this|https://github.com/apache/camel/pull/19516/changes#diff-c8ca673dbc2946a5cc99b0af04e10fbe0f72b4a7edd522e6454e281241fb998f]
change to KameletComponent?
was:
[CAMEL-22511|https://issues.apache.org/jira/browse/CAMEL-22511] introduced URL
encoding of kamelet parameters when toD is used. Hence, behaviour of custom
kamelets is inconsistent depending whether it is invoked with `to` or `toD`.
See https://github.com/bartoszpop/CAMEL-24747
This change is very invasive and might break many kamelets which take URL as a
parameter. Would you consider reverting
[this|https://github.com/apache/camel/pull/19516/changes#diff-c8ca673dbc2946a5cc99b0af04e10fbe0f72b4a7edd522e6454e281241fb998f]
change to KameletComponent?
> KameletComponent URL encodes kamelet parameters
> -----------------------------------------------
>
> Key: CAMEL-24747
> URL: https://issues.apache.org/jira/browse/CAMEL-24747
> Project: Camel
> Issue Type: Bug
> Components: camel-kamelet
> Affects Versions: 4.22.0
> Reporter: Bartosz Popiela
> Priority: Major
>
> [CAMEL-22511|https://issues.apache.org/jira/browse/CAMEL-22511] introduced
> URL encoding of kamelet parameters when toD is used. Hence, behaviour of
> custom kamelets is inconsistent depending whether it is invoked with `to` or
> `toD`. Also, there is no way to pass URL special characters (e.g. % or +) to
> the kamelet when using toD.
> See the [test
> case|https://github.com/bartoszpop/CAMEL-24747/blob/main/src/test/java/io/github/bartoszpop/camel/Camel27474Test.java]
> for details.
> This change is very invasive and might break many kamelets which take URL as
> a parameter. Would you consider reverting
> [this|https://github.com/apache/camel/pull/19516/changes#diff-c8ca673dbc2946a5cc99b0af04e10fbe0f72b4a7edd522e6454e281241fb998f]
> change to KameletComponent?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)