Skip to content

Don't duplicate query string arguments. - #189

Merged
jnunemaker merged 1 commit into
jnunemaker:masterfrom
sullman:fix-duplicate-query-string-params
Feb 2, 2013
Merged

Don't duplicate query string arguments.#189
jnunemaker merged 1 commit into
jnunemaker:masterfrom
sullman:fix-duplicate-query-string-params

Conversation

@sullman

@sullman sullman commented Feb 2, 2013

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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