Skip to content

Commit

Permalink
fix encoding gif
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzay-G committed Oct 17, 2021
1 parent 3b8b873 commit 6477278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archivy/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
let query = input.value;
if (input.value !== "")
{
let searchQuery = await fetch(`${SCRIPT_ROOT}/search?query=${input.value}`, {
let searchQuery = await fetch(`${SCRIPT_ROOT}/search?query=${encodeURIComponent(input.value)}`, {
"method": "GET"
});
if (searchQuery.ok && query == input.value) {
Expand Down

0 comments on commit 6477278

Please sign in to comment.