shinoka7 hace 6 años
padre
commit
aab2a77e41
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/client/js/components/HeaderSearchBox.jsx

+ 1 - 1
src/client/js/components/HeaderSearchBox.jsx

@@ -52,7 +52,7 @@ class HeaderSearchBox extends React.Component {
     // construct search query
     let q = this.state.text;
     if (this.state.isScopeChildren) {
-      q += ` prefix:${window.location.pathname}`;
+      q += ` prefix:${decodeURI(window.location.pathname)}`;
     }
     url.searchParams.append('q', q);