From c24d9fa1876a6c61fbc22ab665ed71b86ae67b7b Mon Sep 17 00:00:00 2001 From: UiANick <138020571+UiANick@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:35:03 +0200 Subject: [PATCH] Update testCode.js --- testFolder/testCode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testFolder/testCode.js b/testFolder/testCode.js index 130a2e5b..1cd39627 100644 --- a/testFolder/testCode.js +++ b/testFolder/testCode.js @@ -63,7 +63,7 @@ function uploadFile(file: File) { // Unvalidated redirects and forwards function redirectUser(url: string) { - window.location.href = url; + window.location.href = url; // nosemgrep dette er ikke en reel fare } // Insecure cross-origin resource sharing (CORS) configuration