ClickHouse/tests
Azat Khuzhin bc167dfde8 clickhouse-test: add proper escaping for HTTP parameters
The problem is that old versions of cURL (7.81.0 at least) handle
additional parameters incorrectly if in previous parameter was "/":

    $ docker run --rm curlimages/curl:8.1.2 --http1.1 --get -vvv 'http://kernel.org/?bar=foo/baz' --data-urlencode "query=select 1 format Null"; echo
    > GET /?bar=foo/baz&query=select+1+format+Null HTTP/1.1
    > User-Agent: curl/8.1.2

    $ docker run --rm curlimages/curl:7.81.0 --http1.1 --get -vvv 'http://kernel.org/?bar=foo/baz' --data-urlencode "query=select 1 format Null"; echo
    > GET /?bar=foo/baz?query=select+1+format+Null HTTP/1.1
    > User-Agent: curl/7.81.0-DEV

Note, that I thought about making the same for cli, but it is not that
easy, even after getting rid of sh -c and string contantenation, it
still cannot be done for CLICKHOUSE_CLIENT_OPT.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-24 06:13:12 +02:00
..
ci Reproducible builds for Rust 2023-07-22 22:46:22 +02:00
config Merge pull request #51038 from evillique/headers-blacklist 2023-07-19 15:49:12 +02:00
fuzz
instructions
integration Merge pull request #52295 from ClickHouse/allow_vertical_merges_from_compact_to_wide_parts 2023-07-24 06:44:33 +03:00
jepsen.clickhouse
perf_drafts
performance
queries Merge pull request #52467 from hanfei1991/hanfei/refine-52451 2023-07-24 05:38:54 +02:00
sqllogic
.gitignore
.rgignore
analyzer_integration_broken_tests.txt
analyzer_tech_debt.txt Add 02815_range_dict_no_direct_join to analyzer_tech_debt.txt 2023-07-22 08:44:19 +00:00
clickhouse-test clickhouse-test: add proper escaping for HTTP parameters 2023-07-24 06:13:12 +02:00
CMakeLists.txt
tsan_suppressions.txt
ubsan_suppressions.txt