Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Sep 29, 2024
1 parent e5395b9 commit 8c80527
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private[zio] final case class ServerInboundHandler(
req.headers.foreach { header =>
if (header.headerName.equalsIgnoreCase("Host")) {
hostCount += 1
if (hostCount > 1 ||! header.renderedValue.forall(c => c.isLetterOrDigit || c == '.' || c == '-')) {
if (hostCount > 1 || !header.renderedValue.forall(c => c.isLetterOrDigit || c == '.' || c == '-')) {
validHost = false
}
}
Expand Down

0 comments on commit 8c80527

Please sign in to comment.