From f4906939b1fd03d267204b514bd9384bacfc0f60 Mon Sep 17 00:00:00 2001 From: "patched.codes[bot]" <298395+patched.codes[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 16:40:40 +0800 Subject: [PATCH 1/7] Patched WebContent/high_yield_investments.htm --- WebContent/high_yield_investments.htm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebContent/high_yield_investments.htm b/WebContent/high_yield_investments.htm index 715a931..3b3fea4 100644 --- a/WebContent/high_yield_investments.htm +++ b/WebContent/high_yield_investments.htm @@ -124,7 +124,8 @@
It is a good practice to back up important files and folders on your computer. To back up files, you can make copies onto media that you can safely store elsewhere, such as CDs or floppy discs.
-For more information on home computer security, visit http://www.cert.org/.
+For more information on home computer security, visit https://www.cert.org/.
\ No newline at end of file From c30dec292c2e37b576ca85b2d8d3821e4c469b45 Mon Sep 17 00:00:00 2001 From: "patched.codes[bot]" <298395+patched.codes[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 16:40:40 +0800 Subject: [PATCH 3/7] Patched WebContent/swagger/lib/marked.js --- WebContent/swagger/lib/marked.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/WebContent/swagger/lib/marked.js b/WebContent/swagger/lib/marked.js index c2a678d..abacfa9 100644 --- a/WebContent/swagger/lib/marked.js +++ b/WebContent/swagger/lib/marked.js @@ -308,7 +308,8 @@ Lexer.prototype.token = function(src, top, bq) { if (~item.indexOf('\n ')) { space -= item.length; item = !this.options.pedantic - ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') + ? item.replace(/^ {1,6}/gm, '') + : item.replace(/^ {1,4}/gm, ''); } @@ -1095,8 +1096,8 @@ function unescape(html) { }); } -function replace(regex, opt) { - regex = regex.source; +function replace(hardcodedRegex, opt) { + const regex = hardcodedRegex.source; opt = opt || ''; return function self(name, val) { if (!name) return new RegExp(regex, opt); @@ -1107,6 +1108,7 @@ function replace(regex, opt) { }; } + function noop() {} noop.exec = noop; From 69943574b6995cbe94066b1ae8d2d8b883643b62 Mon Sep 17 00:00:00 2001 From: "patched.codes[bot]" <298395+patched.codes[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 16:40:40 +0800 Subject: [PATCH 4/7] Patched src/com/ibm/security/appscan/altoromutual/servlet/LoginServlet.java --- .../security/appscan/altoromutual/servlet/LoginServlet.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/ibm/security/appscan/altoromutual/servlet/LoginServlet.java b/src/com/ibm/security/appscan/altoromutual/servlet/LoginServlet.java index 55303c3..64d2f0e 100644 --- a/src/com/ibm/security/appscan/altoromutual/servlet/LoginServlet.java +++ b/src/com/ibm/security/appscan/altoromutual/servlet/LoginServlet.java @@ -92,6 +92,10 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response) //Handle the cookie using ServletUtil.establishSession(String) try{ Cookie accountCookie = ServletUtil.establishSession(username,session); + //Set the HttpOnly flag for the cookie + accountCookie.setHttpOnly(true); + //Set the secure flag for the cookie + accountCookie.setSecure(true); response.addCookie(accountCookie); response.sendRedirect(request.getContextPath()+"/bank/main.jsp"); } @@ -105,3 +109,4 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response) } } + From 1009a73706c276960a910a6993af13f945c2aaaf Mon Sep 17 00:00:00 2001 From: "patched.codes[bot]" <298395+patched.codes[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 16:40:40 +0800 Subject: [PATCH 5/7] Patched WebContent/static/inside_about.htm --- WebContent/static/inside_about.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/static/inside_about.htm b/WebContent/static/inside_about.htm index cd5517e..345c400 100644 --- a/WebContent/static/inside_about.htm +++ b/WebContent/static/inside_about.htm @@ -9,7 +9,7 @@
The employees of Altoro Mutual not only give millions of dollars in donations but thousands of hours of volunteer time to their communities each year. Learn about our current volunteer programs.
The 2006 community efforts of Altoro Mutual and our employees is quite impressive including charitable contributions, volunteerism, diversity initiatives, and other support. View the summary report (PDF, 800KB).
+The 2006 community efforts of Altoro Mutual and our employees is quite impressive including charitable contributions, volunteerism, diversity initiatives, and other support. View the summary report (PDF, 800KB).
- + - \ No newline at end of file +