mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 22:54:11 +08:00
fix(curl): If a curl URL a "&" in it, we need to wrap the url in quotes
This commit is contained in:
parent
24b94a25df
commit
afda3c6030
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ DeveloperBarStore = Reflux.createStore
|
||||||
|
|
||||||
item =
|
item =
|
||||||
id: "curlitemId:#{curlItemId}"
|
id: "curlitemId:#{curlItemId}"
|
||||||
command: "curl -X #{request.method} #{data} #{url}"
|
command: "curl -X #{request.method} #{data} \"#{url}\""
|
||||||
statusCode: response?.statusCode || 0
|
statusCode: response?.statusCode || 0
|
||||||
|
|
||||||
@_curlHistory.unshift(item)
|
@_curlHistory.unshift(item)
|
||||||
|
|
Loading…
Reference in a new issue