Skip to content

Conversation

@paul
Copy link

@paul paul commented Nov 23, 2019

Calling endpoint.path had the side-effect of mutating the original @url.path to add query params, so calling it multiple times would re-add the query params every time, resulting in paths like /example?foo=bar&bam=baz?foo=bar&bam=baz.

Fixed by duping the @url.path for the buffer var.

Calling endpoint.path had the side-effect of mutating the original @url.path to add query params, so calling it multiple times would re-add the query params every time, resulting in paths like `/example?foo=bar&bam=baz?foo=bar&bam=baz`. 

Fixed by duping the `@url.path` for the buffer var.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.548% when pulling ca4b1a5 on paul:patch-1 into 817302a on socketry:master.

@ioquatix
Copy link
Member

Thanks for this, fixed already :)

@ioquatix ioquatix closed this Nov 24, 2019
@ioquatix ioquatix added this to the v0.49.1 milestone Nov 24, 2019
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.

3 participants