diff --git a/lib/routing.js b/lib/routing.js index 46231fd..4bc612f 100644 --- a/lib/routing.js +++ b/lib/routing.js @@ -93,7 +93,8 @@ export const updateQueryString = state => { const mappedState = mapper.map(reverseMappings, state) history.replace({ - search: encodeURIComponent(keysToQuery(mappedState)) + // Do NOT change this to encodeURIComponent + search: encodeURI(keysToQuery(mappedState)) }) } }