Filtered search bar encodes spaces in search param incorrectly
Summary
Filtered search bar encodes spaces in search param incorrectly
Steps to reproduce
- 
Go to issues page (Eg. https://gitlab.com/gitlab-org/gitlab-ce/issues) 
- 
Perform the search bug reportin the search bar
- 
Notice that the URL encodes as https://gitlab.com/gitlab-org/gitlab-ce/issues?scope=all&utf8=%E2%9C%93&state=opened&search=bug%20report 
- 
Go to the MR page (Eg. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests) 
- 
Perform the search bug reportin the smallFilter by namebar
- 
Notice that the URL encodes as https://gitlab.com/gitlab-org/gitlab-ce/merge_requests?scope=all&state=opened&utf8=%E2%9C%93&search=bug+report 
Expected behavior
Issues search should encode the search param as search=bug+report
Actual behavior
Issues search encodes the search param as search=bug%20report