8000 pkg/xml: escape reserved characters in element text by AruneshDwivedi · Pull Request #2034 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content

pkg/xml: escape reserved characters in element text - #2034

Merged
sunsingerus merged 1 commit into
Altinity:0.27.2from
AruneshDwivedi:fix/xml-escape-special-chars
Jul 20, 2026
Merged

sunsingerus merged 1 commit into
Altinity:0.27.2from
AruneshDwivedi:fix/xml-escape-special-chars

Conversation

@AruneshDwivedi
Copy link
Copy Markdown
Contributor

writeValue injected element text verbatim, so passwords or values containing &, < or > produced invalid users.xml and ClickHouse failed to start. Escape those characters so the rendered document stays well-formed.

Used AI to help identify and draft this fix — reviewed and tested before submitting.

writeValue injected element text verbatim, so passwords or values containing &, < or > produced invalid users.xml and ClickHouse failed to start. Escape those characters so the rendered document stays well-formed.

Signed-off-by: Arunesh Dwivedi <arunesh.devops@gmail.com>
@sunsingerus sunsingerus added the planned for review This feature is planned for review label Jul 13, 2026
@sunsingerus
sunsingerus changed the base branch from master to 0.27.2 July 16, 2026 11:53
@sunsingerus
sunsingerus merged commit c0f085f into Altinity:0.27.2 Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

planned for review This feature is planned for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0