Skip to content

Commit

Permalink
Fix code scanning alert issue-#1342 (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 authored Oct 23, 2023
1 parent ffee730 commit 49d9e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/templates/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ <h2 class="text-2xl font-semibold leading-7 text-gray-900">
$(".duplicates").click(async () => {
var uri = $("input[name='url']").val();

$("#view_all").attr("href", `/search/?query=${uri}`);
$("#view_all").attr("href", `/search/?query=${encodeURIComponent(uri)}`);

let resp = await fetch("/api/v1/urlcheck/", {
method: "POST",
Expand Down

0 comments on commit 49d9e53

Please sign in to comment.