Revert "Issue #452: Fix 500 error with `%` in `code`. (#453)"

This reverts commit 46dcdef043.
main
Mike Fix 6 years ago
parent b15fd14b07
commit 9acda4024f

@ -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))
})
}
}

Loading…
Cancel
Save