Browse Source

Merge branch '6.4.x' into 6.5.x

pull/17168/head
Josh Cummings 7 months ago
parent
commit
8aaa9c28fa
No known key found for this signature in database
GPG Key ID: 869B37A20E876129
  1. 3
      web/src/main/java/org/springframework/security/web/header/writers/ClearSiteDataHeaderWriter.java

3
web/src/main/java/org/springframework/security/web/header/writers/ClearSiteDataHeaderWriter.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2019 the original author or authors. * Copyright 2002-2025 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -75,6 +75,7 @@ public final class ClearSiteDataHeaderWriter implements HeaderWriter {
if (!response.containsHeader(CLEAR_SITE_DATA_HEADER)) { if (!response.containsHeader(CLEAR_SITE_DATA_HEADER)) {
response.setHeader(CLEAR_SITE_DATA_HEADER, this.headerValue); response.setHeader(CLEAR_SITE_DATA_HEADER, this.headerValue);
} }
return;
} }
this.logger.debug( this.logger.debug(
LogMessage.format("Not injecting Clear-Site-Data header since it did not match the requestMatcher %s", LogMessage.format("Not injecting Clear-Site-Data header since it did not match the requestMatcher %s",

Loading…
Cancel
Save