Skip to content

Backport #129850 to 26.3: Apply http_forbid_headers to Basic credentials sent in the Authorization header - #132644

Merged
kolsha merged 1 commit into
26.3from
backport/26.3/129850
Nov 18, 2026
Merged

kolsha merged 1 commit into
26.3from
backport/26.3/129850

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #129850
Cherry-pick pull-request #132633

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.3.67.17

…tials sent in the `Authorization` header
@robot-ch-test-poll3 robot-ch-test-poll3 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 Nov 18, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [b1935de]

Summary: ✅

@kolsha

kolsha commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Deviations from a faithful backport of #129850 (all approved): StorageURLSource::setCredentials rewritten to call checkBasicCredentials, with the check before the try in getFirstAvailableURIAndReadBuffer and all failover options checked by the urlCluster initiator; the schema registry check in SchemaRegistry::fetchSchema in AvroRowInputFormat.cpp; checkAndNormalizeHeaders instead of checkHeaders; created_from_ddl of Configuration in HTTPDictionarySource (from #101768); changes of the web disk, test_disk_over_web_server, Elasticsearch and web_index dropped (not present on this branch); 11 ported cases in test_storage_url and a placeholder http_forbid_headers in configs/conf.xml.

@kolsha
kolsha merged commit 51ec1a9 into 26.3 Nov 18, 2026
42 checks passed
@kolsha
kolsha deleted the backport/26.3/129850 branch November 18, 2026 14:44
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.

4 participants