This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-freemarker.git

commit 40f6131cdd05fd570a08e65e73bb58c50a6d9e34
Author: Oliver Lietz <[email protected]>
AuthorDate: Thu Nov 3 21:19:16 2022 +0100

    [spotbugs] exclude TEMPLATE_INJECTION_FREEMARKER
---
 spotbugs-exclude.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml
index f695ecb..e273b98 100644
--- a/spotbugs-exclude.xml
+++ b/spotbugs-exclude.xml
@@ -23,4 +23,9 @@
     <Class 
name="org.apache.sling.scripting.freemarker.internal.FreemarkerScriptEngine"/>
     <Field name="freemarkerScriptEngineFactory"/>
   </Match>
+  <Match>
+    <Bug pattern="TEMPLATE_INJECTION_FREEMARKER"/>
+    <Class 
name="org.apache.sling.scripting.freemarker.internal.FreemarkerScriptEngine"/>
+    <Method name="eval"/>
+  </Match>
 </FindBugsFilter>

Reply via email to