mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 01:35:52 +08:00
fix(search): URI encode search queries to prevent 400s
This commit is contained in:
parent
d95cb45147
commit
dc2d83b08b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class SearchView extends ModelView
|
|||
|
||||
NylasAPI.makeRequest
|
||||
method: 'GET'
|
||||
path: "/threads/search?q=#{@_query}"
|
||||
path: "/threads/search?q=#{encodeURIComponent(@_query)}"
|
||||
accountId: @_accountId
|
||||
json: true
|
||||
returnsModel: false
|
||||
|
|
Loading…
Reference in a new issue