Backport #69301 to 24.8: Add xml char escaping to docker's entrypoint

This commit is contained in:
robot-clickhouse 2024-11-10 17:08:57 +00:00
parent f858b153df
commit 0f79b62b8e

View File

@ -120,7 +120,7 @@ if [ -n "$CLICKHOUSE_USER" ] && [ "$CLICKHOUSE_USER" != "default" ] || [ -n "$CL
<networks> <networks>
<ip>::/0</ip> <ip>::/0</ip>
</networks> </networks>
<password>${CLICKHOUSE_PASSWORD}</password> <password><![CDATA[${CLICKHOUSE_PASSWORD//]]>/]]]]><![CDATA[>}]]></password>
<quota>default</quota> <quota>default</quota>
<access_management>${CLICKHOUSE_ACCESS_MANAGEMENT}</access_management> <access_management>${CLICKHOUSE_ACCESS_MANAGEMENT}</access_management>
</${CLICKHOUSE_USER}> </${CLICKHOUSE_USER}>