Skip to content

Commit

Permalink
Fixed spaces and identation
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulDoyensec committed Oct 15, 2024
1 parent 5c81db3 commit df57b4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public boolean canAccept(NetworkService networkService) {
2, "HTTP/1.1", "/manager/html", host, host, host, port, true, headers, attributes);

byte[] response = sendAndReceive(host, port, request.getBytes());
AjpMessage responseMessage = AjpReader.parseMessage(response);
AjpMessage responseMessage = AjpReader.parseMessage(response);

canAcceptByCustomFingerprint = responseMessage.getDescription()
.toLowerCase().contains(TOMCAT_AUTH_HEADER.toLowerCase());
Expand Down Expand Up @@ -152,7 +152,7 @@ private boolean isTomcatAccessible(NetworkService networkService, TestCredential
} catch (IOException e) {
logger.atWarning().withCause(e).log("Unable to query '%s'.", url);
return false;
}
}
}


Expand Down

0 comments on commit df57b4b

Please sign in to comment.