You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/02/10 17:28:04 UTC
[ofbiz-framework] branch release22.01 updated: Improved: no functional changes, removes trailing spaces just to pass checkstyle
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release22.01 by this push:
new 9fcc4d7 Improved: no functional changes, removes trailing spaces just to pass checkstyle
9fcc4d7 is described below
commit 9fcc4d780665a75266d2cff53278fb776e07a7c7
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Thu Feb 10 18:27:07 2022 +0100
Improved: no functional changes, removes trailing spaces just to pass checkstyle
Check passed locally but not on GH nor BuildBot
---
.../src/test/java/org/apache/ofbiz/security/SecurityUtilTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/framework/security/src/test/java/org/apache/ofbiz/security/SecurityUtilTest.java b/framework/security/src/test/java/org/apache/ofbiz/security/SecurityUtilTest.java
index e7302bf..5320242 100644
--- a/framework/security/src/test/java/org/apache/ofbiz/security/SecurityUtilTest.java
+++ b/framework/security/src/test/java/org/apache/ofbiz/security/SecurityUtilTest.java
@@ -63,7 +63,7 @@ public class SecurityUtilTest {
// %eval,@eval,runtime,import,passthru,shell_exec,assert,str_rot13,system,base64_decode,include
// chmod,mkdir,fopen,fclose,new file,upload,getfilename,download,getoutputstring,readfile
// python,perl ,/perl,ruby ,/ruby,processbuilder
-
+
try {
List<String> allowed = new ArrayList<>();
allowed.add("getfilename");
@@ -84,7 +84,7 @@ public class SecurityUtilTest {
assertFalse(SecuredUpload.isValidText("taglib", allowed));
assertFalse(SecuredUpload.isValidText("<prefix", allowed));
assertFalse(SecuredUpload.isValidText("<%@ page", allowed));
-
+
assertFalse(SecuredUpload.isValidText("%eval", allowed));
assertFalse(SecuredUpload.isValidText("@eval", allowed));
assertFalse(SecuredUpload.isValidText("runtime", allowed));