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:08 UTC

[sling-org-apache-sling-commons-crypto] 02/08: [spotbugs] exclude PATH_TRAVERSAL_IN

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 2074f55df6b017024f4c7b1a4a41899ad181070b
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Oct 21 11:02:56 2022 +0200

    [spotbugs] exclude PATH_TRAVERSAL_IN
    
    file paths from internal configurations only
---
 spotbugs-exclude.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml
index ae1f670..d1fc783 100644
--- a/spotbugs-exclude.xml
+++ b/spotbugs-exclude.xml
@@ -23,4 +23,8 @@
     <Class name="org.apache.sling.commons.crypto.webconsole.internal.EncryptWebConsolePlugin"/>
     <Field name="tracker"/>
   </Match>
+  <Match>
+    <Bug pattern="PATH_TRAVERSAL_IN"/>
+    <Class name="org.apache.sling.commons.crypto.internal.FilePasswordProvider"/>
+  </Match>
 </FindBugsFilter>