diff --git a/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js b/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js index ab4e3a4c6f..66c01605a0 100644 --- a/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js +++ b/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js @@ -112,7 +112,7 @@ define(['jquery', headers: additionalHeaders, method: formMethod, processData: 'multipart/form-data' !== encType, - contentType: 'multipart/form-data' === encType ? false : encType, + contentType: 'multipart/form-data' === encType ? false : contentType, data: submitData, }).then(function (data) { self.onSuccessResponse(data, failureCallbackFunctionName, successCallBackFunctionName, informationalCallbackFunctionName)