summaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-09-07 18:45:20 +0100
committerMichael Morris <michael.morris@est.tech>2022-09-08 10:09:00 +0000
commit013779aedf93a6f6ff878c457de53e729540c252 (patch)
treee01b5f74e4b452a14ac81ebc410bf2c004a9a757 /dox-sequence-diagram-ui/src/main/webapp
parentc37bada019850822df28e2d28f10b64241467fdf (diff)
Fix high-severity bug 'application exposed to path traversal attack'
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I7f4b1e8d083cc39f8e57dcedddecc6af56fdc9c2 Issue-ID: SDC-4169
Diffstat (limited to 'dox-sequence-diagram-ui/src/main/webapp')
-rw-r--r--dox-sequence-diagram-ui/src/main/webapp/WEB-INF/web.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/dox-sequence-diagram-ui/src/main/webapp/WEB-INF/web.xml b/dox-sequence-diagram-ui/src/main/webapp/WEB-INF/web.xml
index c723615a7a..01ca867b6d 100644
--- a/dox-sequence-diagram-ui/src/main/webapp/WEB-INF/web.xml
+++ b/dox-sequence-diagram-ui/src/main/webapp/WEB-INF/web.xml
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="Amdocs_ES6_Blueprint" version="3.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
- <display-name>Amdocs ES6 Blueprint</display-name>
+ <display-name>Amdocs ES6 Blueprint</display-name>
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+ <context-param>
+ <param-name>org.eclipse.jetty.servlet.Default.dirAllowed</param-name>
+ <param-value>false</param-value>
+ </context-param>
</web-app>