Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Renames SecuredUpload::isValidFile to isValidFileName
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user