Skip to content

Commit

Permalink
Update links to HttpOnly documentation at OWASP in ResponseCookie
Browse files Browse the repository at this point in the history
See spring-projectsgh-32663
Closes spring-projectsgh-32667

(cherry picked from commit 7f27ba3)
  • Loading branch information
yhao3 authored and sbrannen committed Apr 18, 2024
1 parent 40bf550 commit e4ab2aa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -110,7 +110,7 @@ public boolean isSecure() {

/**
* 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;
Expand Down Expand Up @@ -268,7 +268,7 @@ public interface ResponseCookieBuilder {

/**
* 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);

Expand Down

0 comments on commit e4ab2aa

Please sign in to comment.