Skip to content

Separate raw query from added query params - #2417

Merged
hyperxpro merged 1 commit into
mainfrom
fix/raw-query-param-separator
Nov 27, 2026
Merged

hyperxpro merged 1 commit into
mainfrom
fix/raw-query-param-separator

Conversation

@hyperxpro

Copy link
Copy Markdown
Member

Motivation:

With disableUrlEncoding set, UriEncoder.RAW#withQueryWithParams appends added query params straight after the existing query with no &, so ?a=1 plus b=2 becomes ?a=1b=2. FIXING already adds the separator.

Modification:

Append & after the raw query, the same way FIXING does, and add tests that RAW and FIXING join the same way.

Result:

?a=1 plus b=2 gives ?a=1&b=2 in both modes.

Fixes #2416

@hyperxpro
hyperxpro merged commit 69ce2c8 into main Nov 27, 2026
29 of 30 checks passed
@hyperxpro
hyperxpro deleted the fix/raw-query-param-separator branch November 27, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

disableUrlEncoding=true: missing & between existing URL query and added query params

1 participant