mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +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 =
|
||||
id: "curlitemId:#{curlItemId}"
|
||||
command: "curl -X #{request.method} #{data} #{url}"
|
||||
command: "curl -X #{request.method} #{data} \"#{url}\""
|
||||
statusCode: response?.statusCode || 0
|
||||
|
||||
@_curlHistory.unshift(item)
|
||||
|
|
Loading…
Reference in a new issue