Compare commits
No commits in common. "fb44be5696a3b84dca0635412eb019de208febfa" and "ed7733ca665d18863752dc355b0293a41959f4f6" have entirely different histories.
fb44be5696
...
ed7733ca66
@ -1,77 +0,0 @@
|
|||||||
From 7597f82cf9a8e9162dc7ce1eec5b9fa4913a6783 Mon Sep 17 00:00:00 2001
|
|
||||||
From: wang--ge <wang__ge@126.com>
|
|
||||||
Date: Thu, 31 Mar 2022 11:22:28 +0800
|
|
||||||
Subject: [PATCH] override abstract method of ServletInputStream and
|
|
||||||
ServletOutputStream
|
|
||||||
|
|
||||||
---
|
|
||||||
.../web/filter/AbstractRequestLoggingFilter.java | 16 ++++++++++++++++
|
|
||||||
.../web/filter/ShallowEtagHeaderFilter.java | 11 +++++++++++
|
|
||||||
2 files changed, 27 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java b/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java
|
|
||||||
index 211e197..9eac2d6 100644
|
|
||||||
--- a/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java
|
|
||||||
+++ b/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java
|
|
||||||
@@ -28,6 +28,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletRequestWrapper;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import javax.servlet.http.HttpSession;
|
|
||||||
+import javax.servlet.ReadListener;
|
|
||||||
|
|
||||||
import org.springframework.util.Assert;
|
|
||||||
import org.springframework.util.StringUtils;
|
|
||||||
@@ -367,6 +368,21 @@ public abstract class AbstractRequestLoggingFilter extends OncePerRequestFilter
|
|
||||||
}
|
|
||||||
return ch;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public void setReadListener(ReadListener readListener) {
|
|
||||||
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public boolean isReady() {
|
|
||||||
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public boolean isFinished() {
|
|
||||||
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java b/spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java
|
|
||||||
index 4ec3870..3fc1705 100644
|
|
||||||
--- a/spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java
|
|
||||||
+++ b/spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java
|
|
||||||
@@ -27,6 +27,7 @@ import javax.servlet.ServletOutputStream;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import javax.servlet.http.HttpServletResponseWrapper;
|
|
||||||
+import javax.servlet.WriteListener;
|
|
||||||
|
|
||||||
import org.springframework.util.Assert;
|
|
||||||
import org.springframework.util.DigestUtils;
|
|
||||||
@@ -245,6 +246,16 @@ public class ShallowEtagHeaderFilter extends OncePerRequestFilter {
|
|
||||||
public void write(byte[] b, int off, int len) throws IOException {
|
|
||||||
content.write(b, off, len);
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public void setWriteListener(WriteListener arg0) {
|
|
||||||
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public boolean isReady() {
|
|
||||||
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
Name: springframework
|
Name: springframework
|
||||||
Version: 3.2.18
|
Version: 3.2.18
|
||||||
Release: 13
|
Release: 8
|
||||||
Summary: The Spring Java Application Framework
|
Summary: The Spring Java Application Framework
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://projects.spring.io/spring-framework/
|
URL: http://projects.spring.io/spring-framework/
|
||||||
@ -34,7 +34,6 @@ Patch8: springframework-3.2.14-build-with-tomcat8.patch
|
|||||||
Patch9: springframework-3.2.18-hibernate4.3.patch
|
Patch9: springframework-3.2.18-hibernate4.3.patch
|
||||||
Patch10: CVE-2020-5421.patch
|
Patch10: CVE-2020-5421.patch
|
||||||
patch11: CVE-2016-5007.patch
|
patch11: CVE-2016-5007.patch
|
||||||
Patch12: 0001-override-abstract-method-of-ServletInputStream-and-ServletOutputStream.patch
|
|
||||||
BuildRequires: maven-local mvn(aopalliance:aopalliance) mvn(c3p0:c3p0) mvn(com.caucho:hessian)
|
BuildRequires: maven-local mvn(aopalliance:aopalliance) mvn(c3p0:c3p0) mvn(com.caucho:hessian)
|
||||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) mvn(com.h2database:h2)
|
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) mvn(com.h2database:h2)
|
||||||
BuildRequires: mvn(com.jamonapi:jamon) mvn(com.rometools:rome)
|
BuildRequires: mvn(com.jamonapi:jamon) mvn(com.rometools:rome)
|
||||||
@ -86,7 +85,6 @@ BuildRequires: mvn(velocity-tools:velocity-tools-view) mvn(velocity:veloci
|
|||||||
BuildRequires: mvn(xmlunit:xmlunit) mvn(org.apache.taglibs:taglibs-standard-jstlel)
|
BuildRequires: mvn(xmlunit:xmlunit) mvn(org.apache.taglibs:taglibs-standard-jstlel)
|
||||||
BuildRequires: mvn(javax.servlet:jstl) mvn(org.apache.taglibs:taglibs-standard-spec)
|
BuildRequires: mvn(javax.servlet:jstl) mvn(org.apache.taglibs:taglibs-standard-spec)
|
||||||
BuildRequires: mvn(com.jayway.jsonpath:json-path) mvn(net.sf.jopt-simple:jopt-simple) xmvn
|
BuildRequires: mvn(com.jayway.jsonpath:json-path) mvn(net.sf.jopt-simple:jopt-simple) xmvn
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
||||||
BuildRequires: jboss-jms-1.1-api jdo2-api jboss-ejb-3.1-api
|
BuildRequires: jboss-jms-1.1-api jdo2-api jboss-ejb-3.1-api
|
||||||
Obsoletes: springframework-instrument-tomcat < %{version}-%{release}
|
Obsoletes: springframework-instrument-tomcat < %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -367,21 +365,6 @@ done
|
|||||||
%files web -f .mfiles-spring-web
|
%files web -f .mfiles-spring-web
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu May 18 2023 Ge Wang <wang__ge@126.com> - 3.2.18-13
|
|
||||||
- Add build require sonatype-oss-parent
|
|
||||||
|
|
||||||
* Thu Apr 13 2023 wangkai <13474090681@163.com> - 3.2.18-12
|
|
||||||
- Override abstract method to solve compile failure
|
|
||||||
|
|
||||||
* Mon Nov 21 2022 xu_ping <xuping33@h-partners.com> - 3.2.18-11
|
|
||||||
- Modify invalid source
|
|
||||||
|
|
||||||
* Fri Dec 24 2021 wangkai <wangkai385@huawei.com> - 3.2.18-10
|
|
||||||
- This package depends on log4j.After the log4j vulnerability CVE-2021-45105 is fixed,the version needs to be rebuild.
|
|
||||||
|
|
||||||
* Thu Dec 16 2021 wangkai <wangkai385@huawei.com> - 3.2.18-9
|
|
||||||
- This package depends on log4j.After the log4j vulnerability CVE-2021-44228 is fixed,the version needs to be rebuild.
|
|
||||||
|
|
||||||
* Fri Oct 29 2021 houyingchao <houyingchao@huawei.com> - 3.2.18-8
|
* Fri Oct 29 2021 houyingchao <houyingchao@huawei.com> - 3.2.18-8
|
||||||
- Fix CVE-2016-5007
|
- Fix CVE-2016-5007
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user