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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8d8b66aadf Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
8d8b66aadf is described below

commit 8d8b66aadf53ddc3d6ae9a89f29287149b08170a
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed May 4 08:09:24 2022 +0200

    Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
    
    Renames SecuredUpload::isValidFile to isValidFileName
---
 spotbugs/exclude.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spotbugs/exclude.xml b/spotbugs/exclude.xml
index 6fa0003158..aadcb90afd 100644
--- a/spotbugs/exclude.xml
+++ b/spotbugs/exclude.xml
@@ -63,7 +63,7 @@ under the License.
   </Match>
   <Match>
     <Class name="org.apache.ofbiz.security.SecuredUpload" />
-    <Method name="isValidFile" />
+    <Method name="isValidFileName" />
     <Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" />
   </Match>
 <!-- ^ ^ OK see remark about OWASP advice at bottom of OFBIZ-9973 -->

Reply via email to