diff --git a/public/react/src/App.js b/public/react/src/App.js index 914ff4d60..747476995 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -298,7 +298,7 @@ class App extends Component { const url = '/wechats/js_sdk_signature.json' const currentUrl = window.location.href.split('#')[0] axios.post(url, { - url: currentUrl, + url: window.encodeURIComponent(currentUrl), }).then((response) => { console.log('got res') const data = response.data;