Skip to content

Commit

Permalink
Merge branch 'main' into issue-OWASP-BLT#1338
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT authored Oct 28, 2023
2 parents 5d2d1c6 + 5fae826 commit b3adda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/static/js/jquery.atwho.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
_a = decodeURI("%C3%80");
_y = decodeURI("%C3%BF");
space = acceptSpaceBar ? "\ " : "";
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_" + space + '\'\.\+\-]*)$|' + flag + "([^\\x00-\\xff]*)$", 'gi');
regexp = new RegExp(flag + "([A-Za-z" + _a + "\\-" + _y + "0-9_" + space + '\'\.\+\\-]*)$|' + flag + "([^\\x00-\\xff]*)$", 'gi');
match = regexp.exec(subtext);
if (match) {
return match[2] || match[1];
Expand Down
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 b3adda8

Please sign in to comment.