mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-24 04:37:58 +00:00
Motivation: Certain malformed q-values can trigger a crash because they don't validate that a string split results in the expected number of parts. Modifications: - validate that the number of split parts is as expected, return a q-value of zero otherwise (i.e. "not acceptable") Result: Safer code