mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 15:04:42 +00:00
BUG/MINOR: uri_normalizer: Use delim parameter when building the sorted query in uri_normalizer_query_sort
Currently the delimiter is hardcoded as ampersand (&) but the function takes the delimiter as a paramter. This patch replaces the hardcoded ampersand with the given delimiter.
This commit is contained in:
parent
cb1847c772
commit
11f6f85c4b
@ -269,7 +269,7 @@ enum uri_normalizer_err uri_normalizer_query_sort(const struct ist query, const
|
||||
|
||||
for (i = 0; i < param_count; i++) {
|
||||
if (i > 0)
|
||||
newquery = __istappend(newquery, '&');
|
||||
newquery = __istappend(newquery, delim);
|
||||
|
||||
if (istcat(&newquery, params[i], size) < 0) {
|
||||
/* This is impossible, because we checked the size of the destination buffer. */
|
||||
|
Loading…
Reference in New Issue
Block a user