Skip to content

Backport #129850 to 26.10: Apply http_forbid_headers to Basic credentials sent in the Authorization header - #130847

Merged
clickhouse-gh[bot] merged 340 commits into
26.10from
backport/26.10/129850
Nov 18, 2026
Merged

clickhouse-gh[bot] merged 340 commits into
26.10from
backport/26.10/129850

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #129850

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

robot-clickhouse and others added 30 commits November 3, 2026 00:05
…oin_to_in` with the query condition cache
… returning different results with and without JIT
…optimize_and_compare_chain` budget runs out between copies of an alias
…in the TopK threshold tracker the way the sort does
…eated subexpressions is checked against a `JOIN`
…ias of an `OR` chain of `LIKE` conditions is reused by `GROUP BY` and other clauses
… that stores `_part_offset` and on a column named `__topKFilter(...)`
…RE by JOIN filter push-down or an aggregate projection
Backport #127656 to 26.10: Fix `SYSTEM RESTORE REPLICA` leaving a replica behind the table metadata version on concurrent restores
Backport #128248 to 26.10: Leave the row estimate of a filtered array join unknown in join reordering
Backport #126374 to 26.10: Keep the hash table statistics of a capped `GROUP BY` apart from the uncapped aggregation
Backport #126131 to 26.10: Estimate an always-true `x = x` condition as passing every row
Backport #126118 to 26.10: Fix FINAL returning a superseded row with a skip index on a float primary key column
Backport #126084 to 26.10: Fix missing rows when `GLOBAL IN` is pushed down to a shard with a stale local replica
Backport #126135 to 26.10: Fix vector search without rescoring returning rows not selected by the index
Backport #126111 to 26.10: Fix `replaceRegexpAll` replacing only the first match when the pattern starts with an optional `^`
Backport #126170 to 26.10: Fix `NOT_IMPLEMENTED` for outer `JOIN` with `full_sorting_merge` when the compare chain derives a bound the join evaluates on its preserved side
Backport #126136 to 26.10: Allow `DROP PARTITION` on `DataLakeCatalog` Iceberg tables with parallel replicas
Backport #126107 to 26.10: Fix `extract` and `match` results for a regexp with an empty flag group `(?)`
Backport #126119 to 26.10: Fix `has`, `indexOf` and `countEqual` throwing on a NULL in a `Nullable(Enum)` argument
Backport #126128 to 26.10: Fix wrong top-k for `dotProduct` vector search without rescoring
Backport #126071 to 26.10: Fix a join returning a pair of `NaN` rows for a `WHERE` float equality
Backport #126072 to 26.10: Fix wrong results of `query_plan_convert_join_to_in` with the query condition cache
clickhouse-gh Bot and others added 19 commits November 10, 2026 19:11
Backport #130444 to 26.10: Bump `mongo-cxx-driver` from r4.6.0 to r4.6.2
Backport #130354 to 26.10: Fix ORC `TIMESTAMP` values before the first time zone transition
Backport #126549 to 26.10: Limit the total size of text bloom filter indexes and track their memory
Backport #128083 to 26.10: Part check ignore query cancellation
Backport #127255 to 26.10: Fix(Aggregate): Reject oversized groupArrayInsertAt states
Backport #130323 to 26.10: Bump `mongo-c-driver` from 2.5.7 to 2.5.8
Backport #130493 to 26.10: Fix flaky test_async_metadata_refresh
…und schedule pool when its size is increased at runtime
Backport #128899 to 26.10: Raise the per-type task limit of a background schedule pool when its size is increased at runtime
Backport #124914 to 26.10: Strip inlined columns from `Alias` definitions written to a backup
Backport #126704 to 26.10: Fix `parseDateTime` next to a daylight saving time change
Backport #130494 to 26.10: Mark `grace_hash_join_{initial_buckets,max_buckets}` non experimental
…ntials sent in the `Authorization` header
@robot-clickhouse robot-clickhouse 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 11, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [02ca719]

Summary: ✅

The new tests of #129850 call it to check the refusal, but it came to
master's test file with #126184, which is not on 26.10, so those cases
fail with `NameError`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator

Both red Integration tests (*, 1/8) jobs fail for one reason: the 13 new test_storage_url cases in each call server_part_of_error, a 3-line helper that came to master's test file with #126184, which is not on 26.10, so each ends with NameError: name 'server_part_of_error' is not defined. The server side of the backport is not involved.

I added the helper, identical to master's, in 574493668554 on my fork. Its parent is this PR's head 24b7b9451164, so applying it is a fast-forward. With it, on a debug build of this PR, test_storage_url passes 81 of 81. With the official 26.10.3.7, the 14 forbidden-header cases fail (nothing refuses the credentials), and the empty-username and redirect cases pass.

I cannot push to backport/26.10/129850:

git fetch https://github.com/groeneai/ClickHouse.git groeneai/fix-26.10-backport-129850
git push origin FETCH_HEAD:backport/26.10/129850

…_url`

Without credentials in `Location`, `test_url_redirect_userinfo_is_not_sent_with_forbidden_authorization` passes vacuously. The fixture is ported from #126184 for that test. URL masking in the index page errors (#126184) is absent on 26.10 and is not part of this backport.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 165dc03 into 26.10 Nov 18, 2026
50 of 51 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.10/129850 branch November 18, 2026 14:06
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.

10 participants