erikras / erikras/react-redux-universal-hot-example
Non-URL friendly API calls fail on server rendering
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Any API call in which the API path is not URL-friendly will fail when being called from the server. The same URL will work when being called from the client as AJAX (since the browser will essentially encode the URI itself).
I solved this by adding an `encodeURI` call to the path in `ApiClient.js`, happy to do a PR if it is a correct solution.
Contributor guide
Assessment
This issue has not been assessed yet.