From dca415099fca6b35304f799c7e1fa802cb545124 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Thu, 5 Jan 2023 11:05:46 +0100 Subject: [PATCH] Remove unused JavaScript function --- .../resources/lessons/pathtraversal/js/path_traversal.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/resources/lessons/pathtraversal/js/path_traversal.js b/src/main/resources/lessons/pathtraversal/js/path_traversal.js index 0c2b341b8..955e7fe7b 100644 --- a/src/main/resources/lessons/pathtraversal/js/path_traversal.js +++ b/src/main/resources/lessons/pathtraversal/js/path_traversal.js @@ -70,9 +70,3 @@ webgoat.customjs.profileZipSlip = function () { formData.append("password", $("#passwordZipSlip").val()); return formData; } - -webgoat.customjs.profileZipSlipRetrieval = function () { - $.get("PathTraversal/zip-slip", function (result, status) { - document.getElementById("previewZipSlip").src = "data:image/png;base64," + result; - }); -}