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/10/21 14:59:09 UTC

[sling-org-apache-sling-commons-crypto] 03/08: [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-commons-crypto.git

commit 4a1d64ba934c07f2105e5cf54f8de094f2c70bb6
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Oct 21 11:16:27 2022 +0200

    [spotbugs] exclude REQUESTDISPATCHER_FILE_DISCLOSURE
    
    internal wrapping from POST to GET
---
 spotbugs-exclude.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml
index d1fc783..62cd8b6 100644
--- a/spotbugs-exclude.xml
+++ b/spotbugs-exclude.xml
@@ -18,6 +18,11 @@
     under the License.
 -->
 <FindBugsFilter>
+  <Match>
+    <Bug pattern="REQUESTDISPATCHER_FILE_DISCLOSURE"/>
+    <Class name="org.apache.sling.commons.crypto.webconsole.internal.EncryptWebConsolePlugin"/>
+    <Method name="doPost"/>
+  </Match>
   <Match>
     <Bug pattern="SE_BAD_FIELD"/>
     <Class name="org.apache.sling.commons.crypto.webconsole.internal.EncryptWebConsolePlugin"/>