Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit cd64d9b

Browse files
author
Nick Litwin
committed
Encode search term
1 parent 173b5f4 commit cd64d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/layout/header/header.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import _ from 'lodash'
2525
// window.location.replace(vm.constants.MAIN_URL + '/search?s=' + vm.searchTerm + '&scope=member')
2626

2727
// Replace with new member search url
28-
window.location.replace('/search/members/?q=' + vm.searchTerm)
28+
window.location.replace('/search/members/?q=' + window.encodeURIComponent(vm.searchTerm))
2929
}
3030
}
3131

0 commit comments

Comments
 (0)