From e4ab2aa7756eff3116c1a2f36b8bd83b5dd955b9 Mon Sep 17 00:00:00 2001 From: yhao3 Date: Thu, 18 Apr 2024 12:25:09 +0800 Subject: [PATCH] Update links to HttpOnly documentation at OWASP in ResponseCookie See gh-32663 Closes gh-32667 (cherry picked from commit 7f27ba3902713e6e6051c81b404dc4b0f41321ca) --- .../main/java/org/springframework/http/ResponseCookie.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/ResponseCookie.java b/spring-web/src/main/java/org/springframework/http/ResponseCookie.java index e0b69e0e87..49e305a5d9 100644 --- a/spring-web/src/main/java/org/springframework/http/ResponseCookie.java +++ b/spring-web/src/main/java/org/springframework/http/ResponseCookie.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2023 the original author or authors. + * Copyright 2002-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -110,7 +110,7 @@ public final class ResponseCookie extends HttpCookie { /** * Return {@code true} if the cookie has the "HttpOnly" attribute. - * @see https://www.owasp.org/index.php/HTTPOnly + * @see https://owasp.org/www-community/HttpOnly */ public boolean isHttpOnly() { return this.httpOnly; @@ -268,7 +268,7 @@ public final class ResponseCookie extends HttpCookie { /** * Add the "HttpOnly" attribute to the cookie. - * @see https://www.owasp.org/index.php/HTTPOnly + * @see https://owasp.org/www-community/HttpOnly */ ResponseCookieBuilder httpOnly(boolean httpOnly);