From 828ffa35841a585ddeeac9d934e3a4951e1702c0 Mon Sep 17 00:00:00 2001 From: ulrich Date: Mon, 28 Dec 2020 09:53:39 +0000 Subject: [PATCH] Von DefaultServlet auf HttpServlet umgestellt --- src/de/uhilger/wbx/web/AdocServlet.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/de/uhilger/wbx/web/AdocServlet.java b/src/de/uhilger/wbx/web/AdocServlet.java index cd8f798..a80ba5c 100644 --- a/src/de/uhilger/wbx/web/AdocServlet.java +++ b/src/de/uhilger/wbx/web/AdocServlet.java @@ -37,6 +37,7 @@ import org.asciidoctor.Asciidoctor; import static org.asciidoctor.AttributesBuilder.attributes; import static org.asciidoctor.OptionsBuilder.options; +import org.asciidoctor.SafeMode; @@ -150,10 +151,12 @@ Map<String, Object> options; if(null != backend) { options = options().inPlace(false) + .safe(SafeMode.SERVER) .backend(backend).attributes(attributes).asMap(); } else { options = options().inPlace(false) + .safe(SafeMode.SERVER) .attributes(attributes).asMap(); } -- Gitblit v1.9.3