forked from robertomiranda/webmock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The #build_request_signature method was mutating the URI if there were any @req.query options. This means that if the request does actually get sent, em-http-request appends the query to the URI a second time, and the parameters are repeated. For example: EventMachine::HttpRequest.new('http://example.com/').get(:query => { :a => '1' }) would result in the follow URI being used for a live request: http://example.com/?a=1&a=1
- Loading branch information
1 parent
d083e68
commit 6927943
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters