FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

modify some files · colorfish32/JavaSecurityLearning@de7337f · GitHub

Repository navigation

Commit de7337f

Browse files
committed
modify some files
1 parent 6d02c4e commit de7337f

7 files changed

Lines changed: 19 additions & 6 deletions

File tree

‎JavaSecurity/Confluence/env/Dockerfile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM openjdk:8-jdk-bullseye
1+
FROM openjdk:11-jdk-bullseye
22

3-
COPY atlassian-confluence-6.9.0.zip /
3+
COPY atlassian-confluence-8.5.3.zip /
44
COPY confluence.cfg.xml /var/data/confluence/confluence.cfg.xml
55

6-
RUN unzip atlassian-confluence-6.9.0.zip && \
7-
mv atlassian-confluence-6.9.0 atlassian-confluence && \
6+
RUN unzip atlassian-confluence-8.5.3.zip && \
7+
mv atlassian-confluence-8.5.3 atlassian-confluence && \
88
mkdir -p /var/data/confluence/ && \
99
mkdir -p /var/data/clusters && \
1010
echo ' ' >> /atlassian-confluence/confluence/WEB-INF/classes/confluence-init.properties && \

‎JavaSecurity/Struts2/Struts2AndOGNL/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
<dependency>
5858
<groupId>org.apache.struts</groupId>
5959
<artifactId>struts2-core</artifactId>
60-
<version>2.0.8</version>
60+
<version>2.5.32</version>
6161
</dependency>
6262
<dependency>
6363
<groupId>ognl</groupId>
6464
<artifactId>ognl</artifactId>
65-
<version>3.1.19</version>
65+
<version>3.1.29</version>
6666
</dependency>
6767
</dependencies>
6868

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.drunkbaby.OGNLGrammar;
2+
3+
import ognl.Ognl;
4+
import ognl.OgnlException;
5+
6+
public class Test {
7+
public static void main(String[] args) throws OgnlException {
8+
String expression = "#{9*9}";
9+
Object expr = Ognl.parseExpression(expression);
10+
Object value = Ognl.getValue(expr, expression);
11+
System.out.println(value);
12+
}
13+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL