Skip to content

Commit f5f9442

Browse files
committed
Merge remote-tracking branch 'origin/develop' into fb_ghIssueLink
2 parents 7ffebe5 + 0909e3a commit f5f9442

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

dependencyCheckSuppression.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,13 @@
217217
<packageUrl regex="true">^pkg:maven/org\.itadaki/bzip2@.*$</packageUrl>
218218
<cve>CVE-2005-1260</cve>
219219
</suppress>
220+
221+
<!-- Related to the setting of channel binding as required, which is not relevant to us. -->
222+
<suppress>
223+
<notes><![CDATA[
224+
file name: postgresql-42.7.4.jar
225+
]]></notes>
226+
<packageUrl regex="true">^pkg:maven/org\.postgresql/postgresql@.*$</packageUrl>
227+
<vulnerabilityName>CVE-2025-49146</vulnerabilityName>
228+
</suppress>
220229
</suppressions>

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ poiVersion=5.4.0
263263

264264
pollingWatchVersion=0.2.0
265265

266+
# Newer versions of the driver have a perf degradation that's important for us. https://github.com/pgjdbc/pgjdbc/issues/3505
266267
postgresqlDriverVersion=42.7.4
267268

268269
quartzVersion=2.5.0
@@ -288,7 +289,7 @@ snappyJavaVersion=1.1.10.7
288289
# Also, update apacheTomcatVersion above to match Spring Boot's Tomcat dependency version
289290
springBootVersion=3.5.0
290291
# This usually matches the Spring Framework version dictated by springBootVersion
291-
springVersion=6.2.7
292+
springVersion=6.2.8
292293

293294
sqliteJdbcVersion=3.49.1.0
294295

server/embedded/src/org/labkey/embedded/LabKeyServer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.springframework.boot.autoconfigure.SpringBootApplication;
88
import org.springframework.boot.context.ApplicationPidFileWriter;
99
import org.springframework.boot.context.properties.ConfigurationProperties;
10+
import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer;
1011
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
1112
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
1213
import org.springframework.context.annotation.Bean;
@@ -82,11 +83,11 @@ public static void main(String[] args)
8283
String enforceCsp = baseCsp + """
8384
${UPGRADE.INSECURE.REQUESTS}
8485
frame-ancestors 'self' ;
85-
report-uri /admin-contentSecurityPolicyReport.api?cspVersion=e12&${CSP.REPORT.PARAMS} ;
86+
report-uri ${context.contextPath:}/admin-contentSecurityPolicyReport.api?cspVersion=e12&${CSP.REPORT.PARAMS} ;
8687
""";
8788
// Leave out upgrade_insecure_requests and frame-ancestors directives, since they produce warnings on some browsers
8889
String reportCsp = baseCsp + """
89-
report-uri /admin-contentSecurityPolicyReport.api?cspVersion=r12&${CSP.REPORT.PARAMS} ;
90+
report-uri ${context.contextPath:}/admin-contentSecurityPolicyReport.api?cspVersion=r12&${CSP.REPORT.PARAMS} ;
9091
""";
9192
application.setDefaultProperties(Map.of(
9293
"server.tomcat.basedir", ".",

0 commit comments

Comments
 (0)