Browse Source

Merge branch '6.1.x'

pull/32674/head
Sam Brannen 2 years ago
parent
commit
f96d0a6c4a
  1. 4
      spring-web/src/main/java/org/springframework/http/ResponseCookie.java

4
spring-web/src/main/java/org/springframework/http/ResponseCookie.java

@ -110,7 +110,7 @@ public final class ResponseCookie extends HttpCookie { @@ -110,7 +110,7 @@ public final class ResponseCookie extends HttpCookie {
/**
* Return {@code true} if the cookie has the "HttpOnly" attribute.
* @see <a href="https://www.owasp.org/index.php/HTTPOnly">https://www.owasp.org/index.php/HTTPOnly</a>
* @see <a href="https://owasp.org/www-community/HttpOnly">https://owasp.org/www-community/HttpOnly</a>
*/
public boolean isHttpOnly() {
return this.httpOnly;
@ -268,7 +268,7 @@ public final class ResponseCookie extends HttpCookie { @@ -268,7 +268,7 @@ public final class ResponseCookie extends HttpCookie {
/**
* Add the "HttpOnly" attribute to the cookie.
* @see <a href="https://www.owasp.org/index.php/HTTPOnly">https://www.owasp.org/index.php/HTTPOnly</a>
* @see <a href="https://owasp.org/www-community/HttpOnly">https://owasp.org/www-community/HttpOnly</a>
*/
ResponseCookieBuilder httpOnly(boolean httpOnly);

Loading…
Cancel
Save