Skip to content

Backport #120407 to 26.8: [SECURITY] Mask credentials embedded in HTTP URIs - #126710

Merged
clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/120407
Oct 20, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/120407

Conversation

@robot-clickhouse-ci-1

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #120407
Cherry-pick pull-request #126163

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.8.32.17

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Oct 19, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [b31954f]

Summary: ✅

@hanfei1991

Copy link
Copy Markdown
Member

@groeneai investigate why the test fails?

@groeneai

Copy link
Copy Markdown
Collaborator

Same cause as on the 26.3 backport (analysis: #126708 (comment)). The two failing checks, show_create and the system.query_log check, test that the url of an HTTP dictionary source is masked in the dictionary definition. On master that comes from #123364, which is not in 26.8. Every runtime path this PR changes is masked on 26.8, and the CI diff is the same as on 26.3.

For 26.3 the decision was to remove those two checks. The same change for this branch is one commit on top of its current head (fdaf943d), on my fork because I can't push to backport/26.8/120407: groeneai@f82e598

git fetch https://github.com/groeneai/ClickHouse fix-05212-backport-26.8-120407
git push origin FETCH_HEAD:backport/26.8/120407

With this PR's amd_release build, the original test fails with the same diff as CI and the edited one passes 5/5 with randomized settings.

The show_create and system.query_log checks test that the url of an HTTP
dictionary source is masked in the dictionary definition. On master that
comes from #123364, which is not in 26.3, so both checks fail here. The
runtime paths changed by #120407 stay covered.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 60bf0f3 into 26.8 Oct 20, 2026
41 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.8/120407 branch October 20, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants