Claus Ibsen created CAMEL-27839:
-----------------------------------

             Summary: 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
             Fix For: 4.25.0


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_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to