Skip to content

Commit 83b2445

Browse files
committed
fix setting over URI
1 parent 6a1cc0d commit 83b2445

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Server/HTTPHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ void HTTPHandler::processQuery(
450450
{
451451
/// Other than query parameters are treated as settings.
452452
if (!customizeQueryParam(context, key, value))
453-
settings_changes.push_back({key, value});
453+
settings_changes.setSetting(key, value);
454454
}
455455
}
456456

tests/queries/0_stateless/03545_settings_over_cgi_params.reference

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ output_format_parallel_formatting 0 1
55
output_format_parallel_formatting=1&output_format_parallel_formatting=0
66
output_format_parallel_formatting 0 1
77
output_format_parallel_formatting=0&output_format_parallel_formatting=1
8-
output_format_parallel_formatting 0 1
8+
output_format_parallel_formatting 1 0

0 commit comments

Comments
 (0)