Skip to content

Commit eae1253

Browse files
committed
Change cookie path from "//" to "/".
1 parent 56b4aa6 commit eae1253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/owasp/esapi/reference/DefaultHTTPUtilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ public void killAllCookies(HttpServletRequest request, HttpServletResponse respo
715715
* @param name
716716
*/
717717
public void killCookie(HttpServletRequest request, HttpServletResponse response, String name) {
718-
String path = "//";
718+
String path = "/";
719719
String domain="";
720720
Cookie cookie = getFirstCookie(request, name);
721721
if ( cookie != null ) {

0 commit comments

Comments
 (0)