We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9535b4c commit 026f5daCopy full SHA for 026f5da
src/components/Search/Search.tsx
@@ -59,7 +59,7 @@ const Search: Component<{
59
props.onInputConfirm(q);
60
}
61
else {
62
- navigate(`/search/${q.replaceAll('#', '%23')}`);
+ navigate(`/search/${urlSafe.replaceAll('#', '%23')}`);
63
64
onBlur();
65
resetQuery();
src/contexts/AdvancedSearchContext.tsx
@@ -287,7 +287,7 @@ export function AdvancedSearchProvider(props: { children: JSX.Element }) {
287
288
try {
289
290
- const spec = JSON.stringify({ id: 'advsearch', query });
+ const spec = JSON.stringify({ id: 'advsearch', query: encodeURIComponent(query) });
291
292
updateStore('isFetchingContent' , () => true);
293
0 commit comments