2
0
shinoka7 7 жил өмнө
parent
commit
17b2e01d1b

+ 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:${decodeURI(window.location.pathname)}`;
+      q += ` prefix:${window.location.pathname}`;
     }
     url.searchParams.append('q', q);