Skip to content

Commit

Permalink
fixes #300 return immediately after the missing token with WWW-Authen…
Browse files Browse the repository at this point in the history
…ticate header
  • Loading branch information
stevehu committed Apr 13, 2023
1 parent 3e8d489 commit 8588d66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void handleRequest(HttpServerExchange exchange) throws Exception {
if(logger.isDebugEnabled())
logger.debug("UnifiedSecurityHandler.handleRequest ends with an error.");
exchange.endExchange();
return;
} else {
// make sure that the length is greater than 5.
if(authorization.trim().length() <= 5) {
Expand Down

0 comments on commit 8588d66

Please sign in to comment.