GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — slf4j 升级到 1.7.32 parent 依赖升级 fix #317 · AbbottLiu/feilong@fb8efd0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • feilong-example
    • pom.xml
  • feilong-lib/feilong-lib-ognl/src/main/java/com/feilong/lib/ognl/security
    • OgnlSecurityManager.java
  • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎feilong-example/pom.xml‎

Copy file name to clipboardExpand all lines: feilong-example/pom.xml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414

1515

1616
<!-- https://junit.org/junit4/ -->
17-
<version.junit>4.13.1</version.junit>
17+
<version.junit>4.13.2</version.junit>
1818
<version.hamcrest-library>1.3</version.hamcrest-library>
1919

2020
<!-- http://logging.apache.org/log4j/1.2/download.html -->
2121
<version.log4j>1.2.17</version.log4j>
2222

2323
<!-- https://logback.qos.ch/news.html -->
24-
<version.logback>1.2.3</version.logback>
24+
<version.logback>1.2.5</version.logback>
2525
<!-- http://www.slf4j.org/news.html -->
26-
<version.slf4j>1.7.30</version.slf4j>
26+
<version.slf4j>1.7.32</version.slf4j>
2727

2828
<!-- http://hc.apache.org/downloads.cgi -->
29-
<version.httpcomponents>4.5.12</version.httpcomponents>
29+
<version.httpcomponents>4.5.13</version.httpcomponents>
3030

3131

3232

Collapse file

‎feilong-lib/feilong-lib-ognl/src/main/java/com/feilong/lib/ognl/security/OgnlSecurityManager.java‎

Copy file name to clipboardExpand all lines: feilong-lib/feilong-lib-ognl/src/main/java/com/feilong/lib/ognl/security/OgnlSecurityManager.java
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public class OgnlSecurityManager extends SecurityManager{
3636

3737
private static final Class<?> FILE_PERMISSION_CLASS = FilePermission.class;
3838

39-
private SecurityManager parentSecurityManager;
39+
private final SecurityManager parentSecurityManager;
4040

41-
private List<Long> residents = new ArrayList<>();
41+
private final List<Long> residents = new ArrayList<>();
4242

43-
private SecureRandom rnd = new SecureRandom();
43+
private final SecureRandom rnd = new SecureRandom();
4444

4545
public OgnlSecurityManager(SecurityManager parentSecurityManager){
4646
this.parentSecurityManager = parentSecurityManager;
@@ -55,9 +55,8 @@ private boolean isAccessDenied(Permission perm){
5555
// TODO: might be risky but we have to - fix it if any POC discovered
5656
// relax a bit with containers class loaders lazy class load
5757
return false;
58-
}else{
59-
isInsideClassLoader = false;
6058
}
59+
isInsideClassLoader = false;
6160
}
6261
if (OGNL_SANDBOX_CLASS_NAME.equals(c.getName())){
6362
return true;
@@ -93,9 +92,8 @@ public Long enter(){
9392
if (install()){
9493
residents.add(token);
9594
return token;
96-
}else{
97-
return null;
9895
}
96+
return null;
9997
}
10098
residents.add(token);
10199
return token;
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@
9999
<version.jstl>1.2</version.jstl>
100100

101101
<!-- https://junit.org/junit4/ -->
102-
<version.junit>4.13.1</version.junit>
102+
<version.junit>4.13.2</version.junit>
103103
<version.hamcrest-library>1.3</version.hamcrest-library>
104104

105105
<!-- http://logging.apache.org/log4j/1.2/download.html -->
106106
<version.log4j>1.2.17</version.log4j>
107107

108108
<!-- https://logback.qos.ch/news.html -->
109-
<version.logback>1.2.3</version.logback>
109+
<version.logback>1.2.5</version.logback>
110110

111111
<version.aspectjweaver>1.6.8</version.aspectjweaver>
112112

@@ -118,7 +118,7 @@
118118
<version.ooxml-schemas>1.4</version.ooxml-schemas>
119119

120120
<!-- http://www.slf4j.org/news.html -->
121-
<version.slf4j>1.7.30</version.slf4j>
121+
<version.slf4j>1.7.32</version.slf4j>
122122

123123
<!-- http://velocity.apache.org/news.html -->
124124
<!-- Velocity Engine 2.1 now requires Java 1.8+. -->

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.