From 013779aedf93a6f6ff878c457de53e729540c252 Mon Sep 17 00:00:00 2001 From: vasraz Date: Wed, 7 Sep 2022 18:45:20 +0100 Subject: Fix high-severity bug 'application exposed to path traversal attack' Signed-off-by: Vasyl Razinkov Change-Id: I7f4b1e8d083cc39f8e57dcedddecc6af56fdc9c2 Issue-ID: SDC-4169 --- openecomp-ui/webapp-heat-validation/WEB-INF/web.xml | 11 ++++++++--- openecomp-ui/webapp-onboarding/WEB-INF/web.xml | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'openecomp-ui') diff --git a/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml b/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml index f84519eee3..013ab32715 100644 --- a/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml +++ b/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml @@ -1,8 +1,8 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" + version="3.0"> Heat-Validation @@ -24,6 +24,11 @@ + + org.eclipse.jetty.servlet.Default.dirAllowed + false + + js *.js diff --git a/openecomp-ui/webapp-onboarding/WEB-INF/web.xml b/openecomp-ui/webapp-onboarding/WEB-INF/web.xml index 7840279895..65b2bc4023 100644 --- a/openecomp-ui/webapp-onboarding/WEB-INF/web.xml +++ b/openecomp-ui/webapp-onboarding/WEB-INF/web.xml @@ -1,8 +1,8 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" + version="3.0"> ASDC @@ -29,6 +29,11 @@ *.js + + org.eclipse.jetty.servlet.Default.dirAllowed + false + + resources org.eclipse.jetty.servlet.DefaultServlet -- cgit 1.2.3-korg