Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #786 #797

Merged
merged 2 commits into from
Feb 21, 2023
Merged

Conversation

AndriiNyzhnyk
Copy link
Contributor

This PR is addressed to update the function Utilities.appendQueryString behavior. As noted in this issue, this function does not cover duplication query keys after my last changes.

Until my previous changes, this function completely overrides all query string and append a new one. I am not sure that it was correct behavior because the function is called appendQueryString not overrideQueryString or setQueryString. My new implementation takes it into account more precisely. So, this function does not override the current query string, instead of function adds a new query to it if missed or updates the existing one.

@robmcguinness robmcguinness merged commit 0ba5d87 into hapi-swagger:master Feb 21, 2023
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.

None yet

2 participants