Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
472bf3f3
Commit
472bf3f3
authored
Mar 01, 2022
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JeecgBoot 3.1.0 版本发布,基于代码生成器的企业级低代码平台
parent
b66fff6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/CommonController.java
+1
-1
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUploadController.java
+1
-1
jeecg-boot/jeecg-cloud-module/jeecg-cloud-test/jeecg-cloud-test-shardingsphere/src/main/resources/application-sharding.yml
+1
-1
No files found.
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/CommonController.java
View file @
472bf3f3
...
...
@@ -76,7 +76,7 @@ public class CommonController {
String
bizPath
=
request
.
getParameter
(
"biz"
);
//LOWCOD-2580 sys/common/upload接口存在任意文件上传漏洞
if
(
bizPath
.
contains
(
"../"
)
||
bizPath
.
contains
(
"..\\"
))
{
if
(
oConvertUtils
.
isNotEmpty
(
bizPath
)
&&
(
bizPath
.
contains
(
"../"
)
||
bizPath
.
contains
(
"..\\"
)))
{
throw
new
JeecgBootException
(
"上传目录bizPath,格式非法!"
);
}
...
...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUploadController.java
View file @
472bf3f3
...
...
@@ -37,7 +37,7 @@ public class SysUploadController {
String
bizPath
=
request
.
getParameter
(
"biz"
);
//LOWCOD-2580 sys/common/upload接口存在任意文件上传漏洞
if
(
bizPath
.
contains
(
"../"
)
||
bizPath
.
contains
(
"..\\"
))
{
if
(
oConvertUtils
.
isNotEmpty
(
bizPath
)
&&
(
bizPath
.
contains
(
"../"
)
||
bizPath
.
contains
(
"..\\"
)))
{
throw
new
JeecgBootException
(
"上传目录bizPath,格式非法!"
);
}
...
...
jeecg-boot/jeecg-cloud-module/jeecg-cloud-test/jeecg-cloud-test-shardingsphere/src/main/resources/application-sharding.yml
View file @
472bf3f3
...
...
@@ -28,7 +28,7 @@ spring:
props
:
strategy
:
standard
# 自定义标准分配算法
algorithmClassName
:
org.jeecg.modules.
demo
.sharding.algorithm.StandardModTableShardAlgorithm
algorithmClassName
:
org.jeecg.modules.
test
.sharding.algorithm.StandardModTableShardAlgorithm
type
:
CLASS_BASED
tables
:
# 逻辑表名称
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment