fix(curl): If a curl URL a "&" in it, we need to wrap the url in quotes

This commit is contained in:
Ben Gotow 2015-08-13 11:20:19 -07:00
parent 6b3fea1e35
commit 6991978928

View file

@ -85,7 +85,7 @@ DeveloperBarStore = Reflux.createStore
item =
id: "curlitemId:#{curlItemId}"
command: "curl -X #{request.method} #{data} #{url}"
command: "curl -X #{request.method} #{data} \"#{url}\""
statusCode: response?.statusCode || 0
@_curlHistory.unshift(item)