From db5136eb221f31bea683fe6bf6d5fa3ca1298476 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 21 Oct 2024 12:56:30 -0700
Subject: [PATCH 1/3] Update dependency
org.springframework.security:spring-security-bom to v6.3.4 (#9894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 8ee91ce9846dba75b31d1339a9c0e3e90581a195)
---
bom/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bom/pom.xml b/bom/pom.xml
index 1d5fa04ce2ef..54e285827148 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -70,7 +70,7 @@ THE SOFTWARE.
org.springframework.security
spring-security-bom
- 6.3.3
+ 6.3.4
pom
import
From ec28f0e2b2449a21afe2fa1bfc159c99be3356ca Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 17 Oct 2024 08:36:50 -0700
Subject: [PATCH 2/3] Update dependency
org.springframework:spring-framework-bom to v6.1.14 (#9884)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 8612f16534d9f04a33b6a6f407bccb040315eec0)
---
bom/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bom/pom.xml b/bom/pom.xml
index 54e285827148..e23d8061cb67 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -62,7 +62,7 @@ THE SOFTWARE.
org.springframework
spring-framework-bom
- 6.1.13
+ 6.1.14
pom
import
From 4d2167190f06db8b06ae72fac7c81c679d41ab15 Mon Sep 17 00:00:00 2001
From: Basil Crow
Date: Mon, 21 Oct 2024 11:37:27 -0700
Subject: [PATCH 3/3] Allow for null to be passed to `doSafeRestart` (#9882)
(cherry picked from commit 6c5cdfa96c5bc7dd0325d792a2a31700b72b6d54)
---
core/src/main/java/jenkins/model/Jenkins.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java
index d3257fb42e09..a9fd679faf34 100644
--- a/core/src/main/java/jenkins/model/Jenkins.java
+++ b/core/src/main/java/jenkins/model/Jenkins.java
@@ -4659,7 +4659,7 @@ public void generateNotFoundResponse(StaplerRequest2 req, StaplerResponse2 rsp)
*/
@Deprecated(since = "2.414")
public HttpResponse doSafeRestart(StaplerRequest req) throws IOException, ServletException, RestartNotSupportedException {
- return doSafeRestart(StaplerRequest.toStaplerRequest2(req), null);
+ return doSafeRestart(req != null ? StaplerRequest.toStaplerRequest2(req) : null, null);
}
/**
@@ -4692,7 +4692,7 @@ public HttpResponse doSafeRestart(StaplerRequest2 req, @QueryParameter("message"
@StaplerNotDispatchable
public HttpResponse doSafeRestart(StaplerRequest req, @QueryParameter("message") String message) throws IOException, javax.servlet.ServletException, RestartNotSupportedException {
try {
- return doSafeRestart(StaplerRequest.toStaplerRequest2(req), message);
+ return doSafeRestart(req != null ? StaplerRequest.toStaplerRequest2(req) : null, message);
} catch (ServletException e) {
throw ServletExceptionWrapper.fromJakartaServletException(e);
}