diff --git a/taxonium_component/src/hooks/useServerBackend.jsx b/taxonium_component/src/hooks/useServerBackend.jsx index 8170fa96..f2c98caf 100644 --- a/taxonium_component/src/hooks/useServerBackend.jsx +++ b/taxonium_component/src/hooks/useServerBackend.jsx @@ -63,9 +63,9 @@ function useServerBackend(backend_url, sid, url_on_fail) { let url = backend_url + "/search/?json=" + - JSON.stringify(singleSearch) + + encodeURIComponent(JSON.stringify(singleSearch)) + "&sid=" + - sid; + encodeURIComponent(sid); const xType = boundsForQueries && boundsForQueries.xType