Skip to content

Commit 7f27ba3

Browse files
yhao3sbrannen
authored andcommitted
Update links to HttpOnly documentation at OWASP in ResponseCookie
Closes gh-32663
1 parent b3a4567 commit 7f27ba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: spring-web/src/main/java/org/springframework/http/ResponseCookie.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public boolean isSecure() {
110110

111111
/**
112112
* Return {@code true} if the cookie has the "HttpOnly" attribute.
113-
* @see <a href="https://www.owasp.org/index.php/HTTPOnly">https://www.owasp.org/index.php/HTTPOnly</a>
113+
* @see <a href="https://owasp.org/www-community/HttpOnly">https://owasp.org/www-community/HttpOnly</a>
114114
*/
115115
public boolean isHttpOnly() {
116116
return this.httpOnly;
@@ -268,7 +268,7 @@ public interface ResponseCookieBuilder {
268268

269269
/**
270270
* Add the "HttpOnly" attribute to the cookie.
271-
* @see <a href="https://www.owasp.org/index.php/HTTPOnly">https://www.owasp.org/index.php/HTTPOnly</a>
271+
* @see <a href="https://owasp.org/www-community/HttpOnly">https://owasp.org/www-community/HttpOnly</a>
272272
*/
273273
ResponseCookieBuilder httpOnly(boolean httpOnly);
274274

0 commit comments

Comments
 (0)