[
https://issues.apache.org/jira/browse/CAMEL-27839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-27839:
--------------------------------
Description:
Found while improving the option descriptions of camel-clickhouse for
CAMEL-23832 (commit
https://github.com/apache/camel/commit/d706f57a8fb08065b46a08a0acbc00620fd890d7,
pull request https://github.com/apache/camel/pull/31142).
This is a separate problem of the component; the descriptions change only
documents the current behavior.
h4. The scheme is compared case-sensitively
{{ClickHouseEndpoint.resolveEndpointUrl()}} with ssl=true turns
HTTP://host:8123 into https://HTTP://host:8123, and the client fails to start.
It also keeps the port, so http://host:8123 becomes https://host:8123, the
plain HTTP port of ClickHouse (now documented).
Proposed change: compare the scheme case-insensitively; consider a warning when
ssl upgrades a URL with port 8123.
_Claude Code on behalf of davsclaus_
was:
Found while improving the option descriptions of camel-clickhouse for
CAMEL-23832 (pull request https://github.com/apache/camel/pull/31142).
This is a separate problem of the component; the descriptions change only
documents the current behavior.
h4. The scheme is compared case-sensitively
{{ClickHouseEndpoint.resolveEndpointUrl()}} with ssl=true turns
HTTP://host:8123 into https://HTTP://host:8123, and the client fails to start.
It also keeps the port, so http://host:8123 becomes https://host:8123, the
plain HTTP port of ClickHouse (now documented).
Proposed change: compare the scheme case-insensitively; consider a warning when
ssl upgrades a URL with port 8123.
_Claude Code on behalf of davsclaus_
> camel-clickhouse: ssl=true with an upper-case HTTP:// serverUrl builds
> https://HTTP://
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-27839
> URL: https://issues.apache.org/jira/browse/CAMEL-27839
> Project: Camel
> Issue Type: Bug
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.25.0
>
>
> Found while improving the option descriptions of camel-clickhouse for
> CAMEL-23832 (commit
> https://github.com/apache/camel/commit/d706f57a8fb08065b46a08a0acbc00620fd890d7,
> pull request https://github.com/apache/camel/pull/31142).
> This is a separate problem of the component; the descriptions change only
> documents the current behavior.
> h4. The scheme is compared case-sensitively
> {{ClickHouseEndpoint.resolveEndpointUrl()}} with ssl=true turns
> HTTP://host:8123 into https://HTTP://host:8123, and the client fails to
> start. It also keeps the port, so http://host:8123 becomes https://host:8123,
> the plain HTTP port of ClickHouse (now documented).
> Proposed change: compare the scheme case-insensitively; consider a warning
> when ssl upgrades a URL with port 8123.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)