Skip to content

Commit

Permalink
Issue #7801 Fix incorrect ConstraintTest for session with form redirect
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Mar 30, 2022
1 parent b86dd9d commit 8122ae6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,6 @@ public void testFormRedirect() throws Exception
"Cookie: JSESSIONID=" + session + "\r\n" +
"\r\n");
assertThat(response, startsWith("HTTP/1.1 200 OK"));
assertThat(response, containsString("JSESSIONID=" + session));

response = _connector.getResponse("GET /ctx/admin/info HTTP/1.0\r\n" +
"Cookie: JSESSIONID=" + session + "\r\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ public void release(String id, Session session) throws Exception
if ((session.getRequests() <= 0))
{
//reset the idchanged flag
session.setIdChanged(false);
session.setIdChanged(false);

//save the session
if (!_sessionDataStore.isPassivating())
Expand Down

0 comments on commit 8122ae6

Please sign in to comment.