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 b6ce7af3d77ad6ff56363c4a9963ae8af3bc7e1a
Author: Oliver Lietz <[email protected]>
AuthorDate: Thu Nov 3 21:19:52 2022 +0100

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

diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml
index e273b98..3b19c96 100644
--- a/spotbugs-exclude.xml
+++ b/spotbugs-exclude.xml
@@ -28,4 +28,9 @@
     <Class 
name="org.apache.sling.scripting.freemarker.internal.FreemarkerScriptEngine"/>
     <Method name="eval"/>
   </Match>
+  <Match>
+    <Bug pattern="REQUESTDISPATCHER_FILE_DISCLOSURE"/>
+    <Class 
name="org.apache.sling.scripting.freemarker.internal.IncludeDirective"/>
+    <Method name="dispatch"/>
+  </Match>
 </FindBugsFilter>

Reply via email to