Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I try to use replace, will the location search value be automatically transcoded? #6506

Closed
steady-join opened this issue Dec 11, 2018 · 1 comment

Comments

@steady-join
Copy link

example:
this.props.history.replace(/collection/result?condition=${测试});
result:
first:Search in location contains 测试
second:Location test transcoded into %e6%b5%8b%e8%af%95
Q:
When I use componentWillReceiveProps, will there be two different behaviors?

@timdorr
Copy link
Member

timdorr commented Dec 11, 2018

This is caused by the underlying history library. See: remix-run/history#505

@timdorr timdorr closed this as completed Dec 11, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Feb 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants