You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test("OriginHeader parser should Parse a list of multiple hosts without a port number") {
valtext=s"$hostString4$hostString4"valorigin=Origin.HostList(NonEmptyList.of(host4, host4))
valheaders=Headers(("Origin", text))
valextracted= headers.get[Origin]
assertEquals(extracted, Some(origin))
}
Test fails because Origin parser fails to parse the input. Test passes when port number is added to host.
The text was updated successfully, but these errors were encountered:
I've encountered this problem in version 0.23.23. Origin parsing fails when there are multiple hosts without a port number.
In OriginHeaderSuite, given
add the following test :
Test fails because Origin parser fails to parse the input. Test passes when port number is added to host.
The text was updated successfully, but these errors were encountered: