This commit is contained in:
Sofia Rodrigues
2026-03-13 23:51:00 -03:00
parent 72702c3538
commit 1a270555ae

View File

@@ -323,7 +323,7 @@ private def hasSingleAcceptedHostHeader (message : Message.Head .receiving) : Bo
match message.uri with
| .asteriskForm =>
hostValue.value.isEmpty parsed.isSome
| .absoluteForm { scheme, authority := some authority, .. } _ =>
| .absoluteForm { scheme, authority := some authority, .. } =>
match parsed with
| some hostHeader => hostAuthorityMatches (some scheme) authority hostHeader
| none => false