You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2022/11/03 20:25:34 UTC

[sling-org-apache-sling-scripting-freemarker] 20/21: [spotbugs] exclude REQUESTDISPATCHER_FILE_DISCLOSURE

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 <ol...@apache.org>
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>