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

Don't duplicate query string arguments. #189

Merged

Conversation

sullman
Copy link
Contributor

@sullman sullman commented Feb 2, 2013

This is related to #185.

During the course of an actual request, the Request#uri method is called more
than once. If the request's path is not relative, that method destructively
updates @path, and so parameters get duplicated each time uri is called. This
change clones the path first (and adds a lame test).

During the course of an actual request, the Request#uri method is called more
than once. If the request's path is not relative, that method destructively
updates @path, and so parameters get duplicated each time uri is called. This
change clones the path first (and adds a lame test).
jnunemaker pushed a commit that referenced this pull request Feb 2, 2013
@jnunemaker jnunemaker merged commit d5c1859 into jnunemaker:master Feb 2, 2013
@jnunemaker
Copy link
Owner

Thanks!

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.

2 participants